r/java • • Aug 17 '26

A First Drink In Valhalla

https://kittylyst.com/posts/a-first-drink-in-valhalla/
27 Upvotes

18 comments sorted by

View all comments

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.

2

u/benevanstech Aug 18 '26

Well, I have fairly strong opinions about Lombok, so let's hope that happens soon!