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

Add link-time support for automatic modules

    Details

    • Type: Task
    • Status: Resolved
    • Priority: P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: tools
    • Labels:

      Description

      We may need to support linking automatic modules into the run-time image. At this time, then jlink will fail if a modular JAR does not contain a module-info.class.

      One approach is to write the ModuleDescriptor as a module-info.class when creating the image, this is easy to do. The awkward part is detecting it as an automatic module as run-time so that the appropriate read edges can be set and the module changed to loose. This is could be done with a special internal flag on the module.

        Attachments

          Activity

            People

            • Assignee:
              mchung Mandy Chung
              Reporter:
              alanb Alan Bateman
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: