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

jar tool validation with MR-JAR does not work with classes compiled with preview features enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • 21
    • 20
    • tools
    • None
    • jar

      This was spotted by Jan Lahoda in the context of a multi-release JAR file that contains classes compiled with preview features enabled.

      Fingerprint::isCompatibleVersion, used by the validator in the jar tool, compared the class file version without checking if the minor version has all bits set (to indicate that it was compiled with preview features enabled).

            cstein Christian Stein
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: