jtreg issue

Prasanta Sadhukhan 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

./bin/jtreg -version
jtreg, version 5.0 dev 762

export JT_JAVA=/Users/PRSADHUK/Downloads/jdk-15.jdk/Contents/Home/

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...
URL: <https://mail.openjdk.java.net/pipermail/jtreg-use/attachments/20200311/7b167d2c/attachment.htm>

More information about the jtreg-use mailing list