RFR: CODETOOLS-7902453: Jtreg JDK.getJDKVersion failed to load GetSystemProperty.class when debugging

Patrick Zhang OS patrick at os.amperecomputing.com
Tue Apr 23 09:58:50 UTC 2019


Hi,

I ran into an issue that jtreg reported that it cannot determine version for JDK when debugging, while the root cause is the root directory of class files could not be located correctly. There are a couple of methods to solve the problem (see details in JBS), the proposed one is to make com/sun/javatest/regtest/config/JDK.java not overwrite the CLASSPATH env var completely, update it with added paths instead.
Please review, thanks.

Bug: https://bugs.openjdk.java.net/browse/CODETOOLS-7902453
Webrev: http://cr.openjdk.java.net/~qpzhang/codetools-7902453/webrev.01/

Regards
Patrick



More information about the code-tools-dev mailing list