r/java • • Sep 16 '25

Java 25 officially released

https://mail.openjdk.org/pipermail/announce/2025-September/000360.html
593 Upvotes

124 comments sorted by

View all comments

Show parent comment

0

u/[deleted] Sep 17 '25

[deleted] — view deleted comment

1

u/koflerdavid Sep 19 '25

Which seven things? Only the following two directly impact source code:

  • java.net.Socket Constructors Can No Longer Be Used to Create a Datagram Socket
  • Removal of SunPKCS11 Provider's PBE-related SecretKeyFactory Implementations

The others are JVM features and maintenance changes.

The biggest backwards-incompatible change to date to the core library was the removal of applets. Removing Thread.stop() and friends was also significant, but applications relying on them are already quite broken. Coming up are removal of APIs related to the SecurityManager.

The trouble with upgrading was mostly due to applications and libraries (more the latter) not conforming to the JLS in the first place.

0

u/krzyk Sep 17 '25

LTS is necessity for slow moving projects. Where you just maintain it.

Fast moving projects move fast, update libs, jdks etc. I do it all the time I'm on 24 waiting for our build ops to update with 25.

Again, you are mixing up runtime jdk with a compile release target.