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

classes under testcases.jar for 7116786 are compiled for Java 7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • OpenJDK6
    • OpenJDK6
    • hotspot
    • b41
    • generic
    • generic

      An issue with hotspot regression tests has been reported on openjdk6 mailing list:
      http://mail.openjdk.java.net/pipermail/jdk6-dev/2017-February/003626.html

      After updating Ubuntu to 6b41 I noticed that the new jtreg hotspot
      testcase 7116786 was failing with "Unsupported major.minor version
      51.0". This is due to the classes under
      hotspot/test/runtime/7116786/testcases.jar being all compiled for Java
      7.

      The testcase was added by:
      http://hg.openjdk.java.net/jdk6/jdk6/hotspot/rev/6088554a147c

      Download testcases.jar directly from the repo @
      http://hg.openjdk.java.net/jdk6/jdk6/hotspot/file/tip/test/runtime/7116786/testcases.jar

      As expected, this also affects the 6u41 tarball @
      https://java.net/downloads/openjdk6/openjdk-6-src-b41-04_jan_2017.tar.xz

      Running 'file' on the unpacked jar file:
      $ file *.class
      case00.class: compiled Java class data, version 51.0 (Java 1.7)
      case01.class: compiled Java class data, version 51.0 (Java 1.7)
      case02.class: compiled Java class data, version 51.0 (Java 1.7)
      case03.class: compiled Java class data, version 51.0 (Java 1.7)
      case04.class: compiled Java class data, version 51.0 (Java 1.7)
      case05.class: compiled Java class data, version 51.0 (Java 1.7)

            Unassigned Unassigned
            bae Andrew Brygin
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: