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

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

    Details

    • Subcomponent:
      svc
    • Resolved In Build:
      b11

      Backports

        Description

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  goetz Goetz Lindenmaier
                  Reporter:
                  goetz Goetz Lindenmaier
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: