Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8317620

Build JDK tools with ModuleMainClass attribute

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Fixed
    • P4
    • 22
    • 22
    • infrastructure
    • 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.

      Attachments

        Issue Links

          Activity

            People

              mchung Mandy Chung
              mchung Mandy Chung
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: