classes under testcases.jar for 7116786 are compiled for Java 7
Andrew Brygin
abrygin at azul.com
Tue Feb 14 16:49:07 UTC 2017
Hello Tiago,
I have created a bug report for this issue:
https://bugs.openjdk.java.net/browse/JDK-8174943
Thanks,
Andrew
On Feb 14, 2017, at 6:18 PM, Tiago Daitx <tiago.daitx at canonical.com<mailto:tiago.daitx at canonical.com>> wrote:
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)
...
I'm not an author so I'm unable to create a bug report.
Regards,
Tiago
--
Tiago Stürmer Daitx
Software Engineer
tiago.daitx at canonical.com
PGP Key: 4096R/F5B213BE (hkp://keyserver.ubuntu.com)
Fingerprint = 45D0 FE5A 8109 1E91 866E 8CA4 1931 8D5E F5B2 13BE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/jdk6-dev/attachments/20170214/ea53b020/attachment.html>
More information about the jdk6-dev
mailing list