RFR(S): 8165490: [TESTBUG] sun/tools/jps/TestJpsJar.java still fails with ClassNotFoundException: jdk.testlibrary.ProcessTools

Dmitry Dmitriev dmitry.dmitriev at oracle.com
Tue Sep 6 11:43:43 UTC 2016


Hello,

Please review fix for jdk/test/sun/tools/jps tests. 
sun/tools/jps/TestJpsJar.java still fails with ClassNotFoundException: 
jdk.testlibrary.ProcessTools. The problem is that TestJpsJar not add 
class path to the process builder and fails to find test library classes 
if these classes were compiled before with @build directive.

In this fix I also removed unnecessary build directives from 
sun/tools/jps/ tests.

JBS: https://bugs.openjdk.java.net/browse/JDK-8165490
webrev.00: http://cr.openjdk.java.net/~ddmitriev/8165490/webrev.00/ 
<http://cr.openjdk.java.net/%7Eddmitriev/8165490/webrev.00/>
Testing: locally, RBT(in progress)

Thanks,
Dmitry


More information about the serviceability-dev mailing list