Details
-
Enhancement
-
Resolution: Fixed
-
P4
-
22
-
None
-
b23
Description
For modules with ModuleMainClass attribute, jlink will pre-resolved the module graph for these modules. At runtime, if the module is launched without --add-modules or --limit-modules option, the runtime can skip the module resolution at the startup.
JDK tools with a single entry point (or a primary entry point) are candidates to add ModuleMainClass attribute in module-info.class to benefit from the jlink optimization.
JDK tools with a single entry point (or a primary entry point) are candidates to add ModuleMainClass attribute in module-info.class to benefit from the jlink optimization.