1.

What Features Module System Has Provided?

Answer»

With the Modules component, following ENHANCEMENTS has been added in Java 9 :-

  1. A NEW optional phase,link time, is introduced. This phase is in-between compile time and run time. During this phase, a set of modules can be assembled and optimized, making a custom runtime image USING jlink tool.
  2. javac, jlink, and java have additional options to specify module paths, which further locate definitions of modules.
  3. JAR format updated as modular JAR, which CONTAINS module-info.class file in its root directory.
  4. JMOD format introduced, a packaging format (SIMILAR to JAR) 

With the Modules component, following enhancements has been added in Java 9 :-



Discussion

No Comment Found