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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 11
    • 11
    • hotspot
    • b15

        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.

              dlong Dean Long
              epavlova Ekaterina Pavlova
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: