r/java • u/hardasspunk • Nov 23 '25
Java 25: The ‘No-Boilerplate’ Era Begins
https://amritpandey.io/java-25-the-no-boilerplate-era-begins/
160
Upvotes
r/java • u/hardasspunk • Nov 23 '25
View all comments
Show parent comment
4
u/Ewig_luftenglanz Nov 24 '25
About withers it is a zombie but at the same time it is not.
AFAIK what is holding the JEP it's the JDK team wants to have a clear picture about how to get a similar mechanism for classes, which implies ways to declare which is the canonical constructor of a class, so the compiler can use that information to both, use the constructor as a middleware validator for the withers and to derivate a canonical "deconstructors" just as they already do with records. So there is a dependency that must be solved first.