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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: