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

[Graal] org.graalvm.compiler.core.test.GraphResetDebugTest fails with java.util.ServiceConfigurationError

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 11
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b15

      Backports

        Description

        org.graalvm.compiler.core.test.GraphResetDebugTest fails with

        java.util.ServiceConfigurationError: org.graalvm.compiler.serviceprovider.GraalServices$JMXService: module jdk.internal.vm.compiler does not declare `uses`
        at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:588)
        at java.base/java.util.ServiceLoader.checkCaller(ServiceLoader.java:574)
        at java.base/java.util.ServiceLoader.<init>(ServiceLoader.java:503)
        at java.base/java.util.ServiceLoader.load(ServiceLoader.java:1691)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.serviceprovider.GraalServices.load(GraalServices.java:73)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.serviceprovider.GraalServices.loadSingle(GraalServices.java:131)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.serviceprovider.GraalServices$JMXService.<clinit>(GraalServices.java:224)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.serviceprovider.GraalServices.getInputArguments(GraalServices.java:326)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.printer.GraphPrinterDumpHandler.jvmArguments(GraphPrinterDumpHandler.java:90)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.printer.GraphPrinterDumpHandler.<init>(GraphPrinterDumpHandler.java:85)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.printer.GraalDebugHandlersFactory.createHandlers(GraalDebugHandlersFactory.java:57)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.debug.DebugContext.<init>(DebugContext.java:421)
        at jdk.internal.vm.compiler@11-internal/org.graalvm.compiler.debug.DebugContext.create(DebugContext.java:409)
        at org.graalvm.compiler.test.GraalTest.getDebugContext(GraalTest.java:427)
        at org.graalvm.compiler.test.GraalTest.getDebugContext(GraalTest.java:397)
        at org.graalvm.compiler.core.test.GraphResetDebugTest.test1(GraphResetDebugTest.java:47)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:569)
        at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
        at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
        at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
        at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
        at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:27)
        at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
        at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.junit.runners.Suite.runChild(Suite.java:128)
        at org.junit.runners.Suite.runChild(Suite.java:27)
        at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
        at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
        at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
        at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
        at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
        at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
        at org.junit.runner.JUnitCore.run(JUnitCore.java:115)
        at com.oracle.mxtool.junit.MxJUnitWrapper.runRequest(MxJUnitWrapper.java:280)
        at com.oracle.mxtool.junit.MxJUnitWrapper.main(MxJUnitWrapper.java:196)

        when testing with latest jdk.jdk bits.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dlong Dean Long
                  Reporter:
                  epavlova Ekaterina Pavlova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: