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

serviceability/tmtools/jstat/GcCauseTest01.java fails with exception: java.lang.NoClassDefFoundError: jdk/test/lib/Platform

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: hotspot
    • Subcomponent:
      svc

      Description

      Affected tests:
      serviceability/tmtools/jstat/GcCauseTest01.java

      Failure:
      ----------System.err:(21/1366)----------
      java.lang.NoClassDefFoundError: jdk/test/lib/Platform
      at common.TmTool.adjustForTestJava(TmTool.java:63)
      at common.TmTool.<init>(TmTool.java:41)
      at utils.JstatGcCauseTool.<init>(JstatGcCauseTool.java:34)
      at GcCauseTest01.main(GcCauseTest01.java:46)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:110)
      at java.lang.Thread.run(java.base@9-internal/Thread.java:843)
      Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Platform
      at jdk.internal.loader.BuiltinClassLoader.loadClass(java.base@9-internal/BuiltinClassLoader.java:366)
      at jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(java.base@9-internal/ClassLoaders.java:184)
      at java.lang.ClassLoader.loadClass(java.base@9-internal/ClassLoader.java:419)
      ... 10 more

      JavaTest Message: Test threw exception: java.lang.NoClassDefFoundError: jdk/test/lib/Platform
      JavaTest Message: shutting down test

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ctornqvi Christian Tornqvist
                Reporter:
                bharadwaj Bharadwaj Yadavalli (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: