jtreg JDK7 support

Zdeněk Žamberský zzambers at redhat.com
Mon Feb 26 16:38:47 UTC 2018


Hi,

I have noticed that latest build of jtreg (tip) on adoptopenjdk is not 
compatible with jdk7.
Jtreg.jar itself has class versions compatible with JDK 7, but some 
dependencies
require JDK >=8 (namely testng.jar and asmtools.jar).


this caused some tests fail (on JDK 7) with e.g.

Failed. Execution failed: `main' threw exception: 
java.lang.UnsupportedClassVersionError: org/testng/IReporter : 
Unsupported major.minor version 52.0


I tried to build jtreg myself using make/build-all.sh with JDK 7, but 
script complained
it requires jdk8. I tried to remove this check :) , but it failed when 
building
asmtools-7.0-b02. However page about building jtreg still mentions both 
JDK 7 or JDK 8 [1].

Could you please clarify what is the current status of jtreg, when it 
comes to JDK 7 support ?


[1] http://openjdk.java.net/jtreg/build.html


thank you

best regards,

-- 
Zdeněk Žamberský
OpenJDK QE
Red Hat



More information about the jtreg-dev mailing list