RFR(S): 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError

Yekaterina Kantserova yekaterina.kantserova at oracle.com
Tue Mar 25 12:07:39 UTC 2014


Hi,

Could I please have a review of this fix.

webrev: http://cr.openjdk.java.net/~ykantser/8034960/webrev.00/
bug: https://bugs.openjdk.java.net/browse/JDK-8034960

When using @library in a JTreg test even @build need to be specify for 
all library files used by the test. If @build is not specified it can 
lead to intermittent failures when running tests concurrently, since 
javac implicit compilation and @library and -concurrency don't play well 
together.

Verified locally since no JTreg with fix has been promoted yet.


Thanks,
Katja


More information about the serviceability-dev mailing list