What should I care about JDK 9 module system?
summary
Migration testing using jdeps from JDK9 surfaces dozens of broken library uses of removed internals (example: sun.misc.BASE64Encoder), requiring either vendor fixes or local shims; running on JDK9 classpath often fails until those are fixed. Converting to modules reveals hundreds of split packages across a 20-year codebase that prevent module startup. A homegrown split-package scanner and running apps with --add-opens/--permit-illegal-access help triage, but fixes are needed for modules to work reliably.
AI-written summary · about
chapters (10)
- 0:00Introduction
- 0:50Agenda
- 1:48What can go wrong
- 2:22Use some internals
- 7:35Reflection
- 9:57Summary
- 13:04Warning
- 13:50Split packages
- 16:04Side note
- 18:00Links
related talks
49mModular Development with JDK 9
49mTo JAR Hell And Back - A Live Migration to the Java 9 Module System
51mModular Development with JDK 9
46mModular Development with JDK 9 and Beyond
53mModular Development with JDK 9
47mJDK 9, 10, and 11: Pitfalls for the Unwary
45mPrepare for JDK 9
46mJDK 9, 10 and 11: Pitfalls For The Unwary
