JDK 11: Pitfalls for the Unwary
summary
Covers exact migration changes you must fix: the Java Platform Module System fragments rt jar so you may need jlink to build a reduced runtime, use jdeps to find module/package dependencies, or move jars to the module path as automatic modules. Calls out removed modules (CORBA, Java EE/JAX-WS/JAXB, JavaFX JVM plugin, Java Web Start), six API methods removed in JDK9, keyword changes (single underscore, var), javah replaced by javac -h, and dozens of JVM flags removed or renamed — about 50 flags can prevent startup unless you update startup scripts.
AI-written summary · about
chapters (32)
- 0:00Start
- 0:24JDK 9: Big And Small Changes
- 1:53JDK Compatibility
- 6:37JDK 9 Onwards And Compatibility
- 7:51Java Platform Module System (JPMS)
- 12:01Migrating Applications to JPMS
- 14:22Classpath v Modulepath
- 15:17Reversing Encapsulation
- 19:22Finding Dependencies: jdeps
- 22:59Using "Missing" Modules
- 23:37Milling Project Coin (JEP 213)
- 24:47Deleted Deprecated Methods
- 26:17Deleted Deprecated Class
- 26:45Finding Deprecated API Use
- 27:36JDK/JRE File Structure (JEP 220)
- 29:48New Version String Format (JEP 223)
- 32:36Non-Programmatic Issues
- 34:04Removed GC Options (JEP 214)
- 34:35JVM Logging
- 35:19Removed JVM Flags: Ignored
- 36:07Deprecated JVM Flags
- 36:26JVM Flags: Non-Starters
- 36:58Local Variable Type Inference
- 37:45Deprecated Things Removed
- 38:59Miscellaneous Things moved
- 39:19Command Line Flags
- 40:16Oracle JDK & OpenJDK
- 41:15Major Absent Features
- 42:47Tools Affected
- 46:30Command Line-XX Flags
- 47:22Migrating To JDK 11 or 12
- 48:06Zulu Community Edition • Azuls free binary distribution of Open JDK
related talks
46mJDK 9, 10 and 11: Pitfalls For The Unwary
47mJDK 9, 10, and 11: Pitfalls for the Unwary
49mTo JAR Hell And Back - A Live Migration to the Java 9 Module System
46mModular Development with JDK 9 and Beyond
45mPrepare for JDK 9
43mEngineering a Modern Java Platform
27mModern Java: Change is the Only Constant
49mPreparing for JDK 9 - AKA The Sharp Edges of JDK 9
