Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8146486 Modular JARs as multi-release JARs
  3. JDK-8165640

Enhance jar tool to allow module-info in versioned directories but not in base in modular multi-release jar files

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Subcomponent:
      jar
    • Resolved In Build:
      b157

      Backports

        Description

        Let jar tool create a modular multi-release jar file that looks like this:

        META-INF/MANIFEST.MF
        META-INF/versions/9/module-info.class
        p/Foo.class
        p/Main.class

        Or this:

        META-INF/MANIFEST.MF
        META-INF/versions/10/module-info.class
        p/Foo.class
        p/Main.class
        META-INF/versions/9/p/Foo.class
        META-INF/versions/10/p/Foo.class

        In the above, base and versions/9 are not modules but versions/10 is a module

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                sherman Xueming Shen
                Reporter:
                sdrach Steve Drach (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: