News for hackers. Stuff that matters.
Re:The Modern Java Platform – 2021 Edition by lmm on Wednesday March 17, 2021 @09:55PM (#26498994)
> Stuff just works with minimal coding and you customise it as needed (or not, which is perfectly valid).

You can't though, because the usual pattern is that the classpath-based self-configurer imports a non-public class that contains all the actual configuration. So you can't customize or extend the autoconfigured version - you have to either accept it as is or replicate the entirety of it from scratch.

Re:The Modern Java Platform – 2021 Edition by jillesvangurp on Thursday March 18, 2021 @02:40AM (#26500172)
You can disable configuration classes and then set things up manually. I did this recently with the mongo driver.
Re:The Modern Java Platform – 2021 Edition by lmm on Thursday March 18, 2021 @02:48AM (#26500200)
Right, but you can't customise the automatic config. It's all or nothing - you have to either use the whole autoconfig as-is or reimplement everything that it does yourself.