Project Jigsaw introduces a module system to Java 9, adding named, self-describing program components that declare dependencies and export specific packages. Key features include dependency management with versioning, strong encapsulation (hiding internal APIs), compile/build/run-time configuration flexibility, whole-program optimization techniques, efficient annotation detection, and integration with existing tools like reflection, build systems, and OSGi. The JDK itself will be modularized using the same mechanism, and a new JLink tool will enable creation of custom runtime images.
Sort: