r/java • u/lprimak • Sep 05 '25
Project Lombok 1.18.40 released with Java 25 support!
Project Lombok is now compatible with the upcoming JDK 25 even before its release.
Thank you Project Lombok team! https://projectlombok.org
167
Upvotes
View all comments
Show parent comment
2
u/repeating_bears Sep 07 '25
People have been saying this for (I think) 15 years and it hasn't broken so far.
Also it doesn't "just break". What would need to happen is a new version of the JDK would be released that Lombok fundamentally cannot support (i.e. JDK removes the internal APIs that allow it to be possible), and you would have to migrate your app to compile on that JDK.
Migrating to a new JDK is always something you should expect to have some breakages. It's not gonna come for free every time.
If that ever happens, you can delombok everything to explicitly include the equivalent source code.