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.

11m read timeFrom nipafx.dev
Post cover image
Table of contents
▚ The Core Concept▚ Features▚ Reflection

Sort: