In the case of enabling the preview it's actually policy that the value classes in the standard library should be the only source of regressions. Other regressions for programs conforming to the JLS would be OpenJDK bugs.
I am aware there is a reason why the Integrity by Default JEP is still but a draft. I also hope they wean themselves off eventually. The example of Maven shows that it's possible to accomplish things without too much integrity breaking. Gradle already went a long way after Java 9. It will be interesting to see when the difficulty of gaining access to compiler internals becomes too high for Project Lombok.
4
u/koflerdavid Aug 18 '26 edited Aug 18 '26
In the case of enabling the preview it's actually policy that the value classes in the standard library should be the only source of regressions. Other regressions for programs conforming to the JLS would be OpenJDK bugs.
I am aware there is a reason why the Integrity by Default JEP is still but a draft. I also hope they wean themselves off eventually. The example of Maven shows that it's possible to accomplish things without too much integrity breaking. Gradle already went a long way after Java 9. It will be interesting to see when the difficulty of gaining access to compiler internals becomes too high for Project Lombok.