Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8219714

[testbug] com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java must pass classpath to subprocess

XMLWordPrintable

    • svc
    • b11

        We see the test failing with

        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)

        in our tests.

        Passing the classpath to the subprocess fixes the issue.

              goetz Goetz Lindenmaier
              goetz Goetz Lindenmaier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: