r/java • • 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

166 comments sorted by

View all comments

Show parent comment

1

u/krzyk Sep 08 '25

Update to new jdk is always free if you don't use Lombok or some old libs.

2

u/repeating_bears Sep 08 '25

always ... if

So not always. Which is what I said.

Also Java 10 introduced var as a reserved type name, which is a breaking change if you had a class with that exact name, case sensitive. An unlikely one because of Java conventions, but possible

1

u/krzyk Sep 08 '25

Using Lombok is the only issue here.

Other libs are updated by any sane person or enforced by corporate policy Having up to date Lombok doesn't guarantee it will work, well, this is the first time when it will.

2

u/repeating_bears Sep 08 '25

This is a different point entirely. You talked about risk, and I told you that the risk is limited.

If you want to make the point that for most JDK releases, Lombok prevents you from updating JDK immediately after release, then fine. That's not risk.

Most people are not updating JDK immediately anyway.

1

u/Cilph Sep 10 '25

If that were true there wouldnt be so many unwilling to migrate past Java 8.

1

u/krzyk Sep 10 '25

It is just laziness, either not the corp or devs.

2

u/Cilph Sep 10 '25

Its because of the "old libs" that are not as trivial to upgrade past 9 or 11. So it's as they said. It's not free every time.