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

Test CompatTest.java intermittent fails NoClassDefFoundError

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 24
    • hotspot
    • None
    • svc
    • 24
    • generic
    • generic

      The newly added test test/hotspot/jtreg/serviceability/attach/AttachAPIv2/CompatTest.java intermittent fails 'java.lang.NoClassDefFoundError: jdk/test/lib/Utils'
       
      The test log snippet:
      STDOUT:
      Client is in compat mode: false
      STDERR:
      java.lang.NoClassDefFoundError: jdk/test/lib/Utils
      at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:495)
      at jdk.test.lib.apps.LingeredApp.startApp(LingeredApp.java:507)
      at CompatTest.main(CompatTest.java:52)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:573)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1576)
      Caused by: java.lang.ClassNotFoundException: jdk.test.lib.Utils
      at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
      at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
      at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:528)
      ... 7 more

            syan Sendao Yan
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: