Overview
Discover how to prepare existing code for JDK 9 in this informative conference talk. Learn about the modularization of the Java SE Platform, its benefits, and potential challenges. Explore new features designed to aid migration, including JDK versioning, multirelease JARs, and enhanced deprecation. Gain insights into general compatibility policies, migration options, and the new version-string scheme. Understand the changes in binary structure for JRE and JDK, and learn techniques for compiling to older releases. Get practical advice on steps to take in preparation for JDK 9, including handling deprecated features and JDK-internal APIs.
Syllabus
Intro
General compatibility policies
The good news
Migration options
javac symbol database (JDK 6. JDK 8)
Illegal reflective access warning
New version-string scheme, JEP 223
New binary structure for JRE and JDK JEP 220
Multi-release JAR files - JEP 238
Compiling to older releases
What can I do to prepare for JDK 9
Taught by
Devoxx