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

jmh tests fail with Unable to find the resource: /META-INF/BenchmarkList after JDK-8306819

XMLWordPrintable

    • b20

      A couple of users have reported that running jmh tests in the JDK now fails with:

      Running test 'micro:java.lang.ArraysSort'
      Exception in thread "main" java.lang.RuntimeException: ERROR: Unable to find the resource: /META-INF/BenchmarkList
      at org.openjdk.jmh.runner.AbstractResourceReader.getReaders(AbstractResourceReader.java:98)
      at org.openjdk.jmh.runner.BenchmarkList.find(BenchmarkList.java:124)
      at org.openjdk.jmh.runner.Runner.internalRun(Runner.java:252)
      at org.openjdk.jmh.runner.Runner.run(Runner.java:208)
      at org.openjdk.jmh.Main.main(Main.java:71)

      The command used to launch the tests was:

      $ make test TEST="micro:java.lang.ArraysSort"


      More details are available in the PR comment here https://github.com/openjdk/jdk/pull/14432#issuecomment-1751929321

            jpai Jaikiran Pai
            jpai Jaikiran Pai
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: