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

compiler/graalunit/HotspotTest.java failed with InaccessibleObjectException: Unable to make jdk.vm.ci.hotspot.HotSpotResolvedJavaField

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      ----------System.err:(582/34814)----------
       stdout: [MxJUnitCore
      JUnit version 4.12
      org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest started (1 of 37)
        testEquivalenceForInternalFields: FAILED
      testEquivalenceForInternalFields(org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest)
      java.lang.AssertionError: java.lang.reflect.InaccessibleObjectException: Unable to make jdk.vm.ci.hotspot.HotSpotResolvedJavaField jdk.vm.ci.hotspot.HotSpotResolvedObjectTypeImpl.createField(jdk.vm.ci.meta.JavaType,long,int,int) accessible: module jdk.internal.vm.ci does not "opens jdk.vm.ci.hotspot" to module jdk.internal.vm.compiler
      at org.graalvm.compiler.hotspot.test.HotSpotResolvedJavaFieldTest.<clinit>(HotSpotResolvedJavaFieldTest.java:70)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              kvn Vladimir Kozlov
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: