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

David Holmes david.holmes at oracle.com
Tue Feb 26 12:58:46 UTC 2019


Hi Goetz,

On 26/02/2019 8:28 pm, Lindenmaier, Goetz wrote:
> 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:

I don't understand why we do not need this when testing here - neither 
locally or in our test infrastructure?

Can you add the content of the failing .jtr file to the bug report so 
that I can see how the execution environments differ please.

Thanks,
David

> 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