prasanta.sadhukhan at oracle.com
Wed Mar 11 08:22:56 UTC 2020
I intend to test a jtreg test with jdk10 and below with jtreg5.0. This are the steps I did
jtreg, version 5.0 dev 762
PRSADHUK-Mac:jtreg PRSADHUK$ ./bin/jtreg -jdk:/Users/PRSADHUK/Downloads/jdk-10.jdk/Contents/Home/ /export/jdk/client/closed/test/jdk/javax/swing/JEditorPane/5062649/bug5062649.java
Exception while calling user-specified class: requires.VMProps
java.lang.UnsupportedClassVersionError: requires/VMProps has been compiled by a more recent version of the Java Runtime (class file version 59.0), this version of the Java Runtime only recognizes class file versions up to 54.0
at java.base/java.lang.ClassLoader.defineClass1(Native Method)
I am sure this is very known issue. Can someone guide me as to what needs to be done to test with older jdk?
BTW, the repo is latest hg.openjdk.java.net/jdk/client
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the jtreg-use