Related JDK changes

Several changes had to be made to the JDK to support the new multi-release JAR file format. These changes include the following:

  • The URLClassLoader is JAR-based and was modified so that it can read class files from the specified version.
  • The new module-based class loader, new to Java 9, was written so that it can read class files from the specified version.
  • The java.util.jar.JarFile class was modified so that it selects the appropriate class version from the multi-release JAR files.
  • The JAR URL scheme's protocol handler was modified so that it selects the appropriate class version from the multi-release JAR files.
  • The Java Compiler, javac, was made to read identified versions of the class files. These version identifications ...

Get Java 9: Building Robust Modular Applications 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.