RFR(XS): 8219714: [testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess

Lindenmaier, Goetz goetz.lindenmaier at sap.com
Tue Feb 26 10:28:59 UTC 2019


Hi,

please review this tiny fix making the test pass in our
test infrastructure:
http://cr.openjdk.java.net/~goetz/wr19/8219714-fix_TestNestmateAttr/01/

The "target" did not find the testlibrary classes. Now it gets the classpath as
argument:

Exception in thread "main" java.lang.NoClassDefFoundError: jdk/test/lib/Asserts
at Target.main(TestNestmateAttr.java:164)
Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Asserts
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:583)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)

Best regards,
  Goetz.


More information about the hotspot-runtime-dev mailing list