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

[Graal] org.graalvm.compiler.jtt.except.BC_checkcast3 fails with org.junit.ComparisonFailure

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • 13
    • 13
    • hotspot

      org.graalvm.compiler.jtt.except.BC_checkcast3 fails with

      1) run0(org.graalvm.compiler.jtt.except.BC_checkcast3)
      org.junit.ComparisonFailure: Exception message expected:<... cast to class [Lorg[/graalvm/compiler/jtt/JTTTest$DummyTestClass; ([Ljava.lang.Object; is in module java.base of loader 'bootstra]p')> but was:<... cast to class [Lorg[.graalvm.compiler.jtt.JTTTest$DummyTestClass; ([Ljava.lang.Object; is in module java.base of loader 'bootstrap'; [Lorg.graalvm.compiler.jtt.JTTTest$DummyTestClass; is in unnamed module of loader 'ap]p')>
      at org.junit.Assert.assertEquals(Assert.java:115)
      at org.graalvm.compiler.core.test.GraalCompilerTest.assertEquals(GraalCompilerTest.java:915)
      at org.graalvm.compiler.core.test.GraalCompilerTest.testAgainstExpected(GraalCompilerTest.java:885)
      at org.graalvm.compiler.jtt.JTTTest.runTest(JTTTest.java:111)
      at org.graalvm.compiler.jtt.JTTTest.runTest(JTTTest.java:94)
      at org.graalvm.compiler.jtt.JTTTest.runTest(JTTTest.java:90)
      at org.graalvm.compiler.jtt.except.BC_checkcast3.run0(BC_checkcast3.java:56)

      when running with -Xcomp (note no Graal as JIT was used)

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

              Created:
              Updated:
              Resolved: