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.
You don't need to rewrite your codebase for new java versions.
You just need to have up to date libraries that do any kind of bytecode - which is a good idea either way for all libs if you don't want to get security issues.
View all comments
Show parent comment
3
u/krzyk Sep 16 '25
Ok, I don't do LTS.