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

[JVMCI] compiler/jvmci/compilerToVM/FindUniqueConcreteMethodTest fails with RuntimeException: Unexpected concrete method for defaultMethod

XMLWordPrintable

      command: main -Xbootclasspath/a:. -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI compiler.jvmci.compilerToVM.FindUniqueConcreteMethodTest
      reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI compiler.jvmci.compilerToVM.FindUniqueConcreteMethodTest
      elapsed time (seconds): 0.665
      STDOUT:
      CASE: receiver=compiler.jvmci.common.testcases.MultipleImplementer1, holder=compiler.jvmci.common.testcases.MultipleImplementer1, method=defaultMethod, isPositive=true
      CASE: receiver=compiler.jvmci.common.testcases.SingleSubclass, holder=compiler.jvmci.common.testcases.SingleSubclass, method=overridenMethod, isPositive=true
      CASE: receiver=compiler.jvmci.common.testcases.SingleSubclass, holder=compiler.jvmci.common.testcases.SingleSubclass, method=usualMethod, isPositive=true
      CASE: receiver=compiler.jvmci.common.testcases.SingleSubclass, holder=compiler.jvmci.common.testcases.SingleSubclass, method=defaultAccessMethod, isPositive=true
      CASE: receiver=compiler.jvmci.common.testcases.SingleSubclass, holder=compiler.jvmci.common.testcases.SingleSubclass, method=staticMethod, isPositive=false
      CASE: receiver=compiler.jvmci.common.testcases.SingleSubclass, holder=compiler.jvmci.common.testcases.SingleSubclass, method=privateMethod, isPositive=true
      CASE: receiver=compiler.jvmci.common.testcases.SingleImplementer, holder=compiler.jvmci.common.testcases.SingleImplementerInterface, method=defaultMethod, isPositive=true
      STDERR:
      java.lang.RuntimeException: Unexpected concrete method for defaultMethod
      at jdk.test.lib.Asserts.error(Asserts.java:447)
      at jdk.test.lib.Asserts.assertEquals(Asserts.java:166)
      at jdk.test.lib.Asserts.assertEQ(Asserts.java:143)
      at compiler.jvmci.compilerToVM.FindUniqueConcreteMethodTest.runTest(FindUniqueConcreteMethodTest.java:107)
      at compiler.jvmci.compilerToVM.FindUniqueConcreteMethodTest.main(FindUniqueConcreteMethodTest.java:58)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:520)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:92)
      at java.lang.Thread.run(Thread.java:804)

      JavaTest Message: Test threw exception: java.lang.RuntimeException: Unexpected concrete method for defaultMethod
      JavaTest Message: shutting down test

            iignatyev Igor Ignatyev (Inactive)
            thartmann Tobias Hartmann
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: