Approaching the JDK 25 LTS release through real-world migration
Some changes have been made between JDK 8 and later JDK versions. Each new Java SE version may contain minor binary, source, and behavioral incompatibilities with previous versions. The modularization of the Java SE platform starting with JDK 9 also brought changes. Code that uses only the official Java SE platform APIs and supported JDK-specific APIs should continue to function unchanged. Code that uses internal JDK APIs should continue to run, but this code should be migrated to use the supported APIs. Some APIs have been made inaccessible, removed, or their default behavior has been changed, which could cause problems when compiling or running the Java application. A code review is worthwhile, especially with the JDK 25 LTS release, and Java applications should be prepared for this.
The presentation covers concrete measures for migrating Java applications, starting from JDK 8 through JDK 11, JDK 17, JDK 21 up to JDK 25 or higher Java versions, coupled with experiences from migration projects, the use of the Java SE Migration Guide and the automation of code refactoring.