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

Remove the restriction of directory based modules for runtime image linking

    XMLWordPrintable

Details

    • Bug
    • Resolution: Withdrawn
    • P4
    • None
    • None
    • tools
    • generic
    • generic

    Description

      JDK-8311302 implements a feature to support jlink without packaged modules being present. Some of the jlink tests which use directory based modules fail with such a JDK since that clashes with the way linkable runtimes have been implemented (using JRTFS). We should investigate if that restriction is strictly necessary and remove it if possible.

      The following tests have been marked as requiring packaged modules since they use directory based modules under the hood:

      tools/jlink/JLink100Modules.java
      tools/jlink/JLinkDedupTestBatchSizeOne.java
      tools/jlink/JLinkReproducibleTest.java
      tools/jlink/multireleasejar/JLinkMRJavaBaseVersionTest.java

      These two tests require packaged modules, because of the way the Helper class is implemented (expecting packaged modules to be present):

      tools/jlink/plugins/GenerateJLIClassesPluginTest.java
      tools/jlink/plugins/IncludeLocalesPluginTest.java

      Attachments

        Issue Links

          Activity

            People

              sgehwolf Severin Gehwolf
              sgehwolf Severin Gehwolf
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: