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

If custom manifest contains "Multi-release: true" regular jar becomes MR jar

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P3
    • None
    • 9
    • tools
    • None
    • jar

    Description

      To reproduce create manifest.txt with content
      Multi-release: true

      then create jar
      $jar cfm test.jar manifest.txt .

      java.util.jar.JarFile.isMultiRelease will return true for the jar.

      Attachments

        Issue Links

          Activity

            People

              psandoz Paul Sandoz
              anazarov Andrey Nazarov (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: