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

Add link-time support for automatic modules

    XMLWordPrintable

Details

    • Task
    • Resolution: Won't Fix
    • P3
    • None
    • None
    • tools

    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

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

            Dates

              Created:
              Updated:
              Resolved: