6 Compatibility challenges when moving to Java 9 or later
This chapter covers
- Why JEE modules are deprecated and not resolved by default
- Compiling and running code that depends on JEE modules
- Why casts to
URLClassLoader
fail - Understanding the new JDK run-time image layout
- Replacing the removed extension mechanism, endorsed standards override mechanism, and boot class path option
This chapter and chapter 7 discuss compatibility challenges when migrating an existing code base to Java 9 and beyond. You won’t be creating any modules yet; these chapters are about building and running an existing project on the newest release.
Why does moving to Java 9+ require two entire chapters? Can’t you install the newest JDK and expect everything to just work? ...
Get The Java Module System now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.