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

microbenchmark fails "NoClassDefFoundError: org/openjdk/jmh/util/HashMultimap"

    Details

    • Type: Bug
    • Status: New
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 16
    • Fix Version/s: None
    • Component/s: hotspot
    • Subcomponent:
    • CPU:
      x86_64
    • OS:
      os_x

      Description

      The following test failed in the JDK16 CI:

      applications/microbenchmarks/jsr335/Test_0.java#id12

      Here's a snippet from the log file:

      ----------System.err:(24/1580)----------
      [jmh] Exception in thread "main" java.lang.NoClassDefFoundError: org/openjdk/jmh/util/HashMultimap
      [jmh] at org.openjdk.jmh.runner.options.CommandLineOptions.<init>(CommandLineOptions.java:77)
      [jmh] at org.openjdk.jmh.Main.main(Main.java:41)
      [jmh] Caused by: java.lang.ClassNotFoundException: org.openjdk.jmh.util.HashMultimap
      [jmh] at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:606)
      [jmh] at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:168)
      [jmh] at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
      [jmh] ... 2 more
      java.lang.RuntimeException: assertEquals: expected 0 to equal 1
      at jdk.test.lib.Asserts.fail(Asserts.java:594)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:205)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:189)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:166)
      at applications.microbenchmarks.MicroRunner.main(MicroRunner.java:33)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:564)
      at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:298)
      at java.base/java.lang.Thread.run(Thread.java:832)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: assertEquals: expected 0 to equal 1


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: assertEquals: expected 0 to equal 1

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              dcubed Daniel Daugherty
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: