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

[TESTBUG] AbstractMethodErrorTest.java test failed with -Xcomp

    Details

    • Subcomponent:
    • Resolved In Build:
      b07
    • CPU:
      generic
    • OS:
      generic

      Description

      New test runtime/exceptionMsgs/AbstractMethodError/AbstractMethodErrorTest.java added with JDK-8197405 fails when run with -Xcomp:

      CompileCommand: exclude AbstractMethodErrorTest.test_ame1
      warmup:
      B.ma() C.ma() D.ma() E.ma() C.mc() D.mc() E.mc() C.mc() D.mc() E.mc() C.mc() D.mc() E.mc()
      B.ma() C.ma() D.ma() E.ma() C.mc() D.mc() E.mc() C.mc() D.mc() E.mc() C.mc() D.mc() E.mc()
      C.ma() D.ma() C.ma() D.ma() C.ma() D.ma() C.ma() D.ma() C.ma()
      Expected: Missing implementation of resolved method abstract ma()V of abstract class AME4_B.
      but got: Receiver class AME4_E does not define or inherit an implementation of the resolved method ma()V of class AME4_A.

      java.lang.RuntimeException: Wrong error message of AbstractMethodError.
      at AbstractMethodErrorTest.test_ame4(AbstractMethodErrorTest.java:341)
      at AbstractMethodErrorTest.main(AbstractMethodErrorTest.java:496)
      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:564)
      at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:115)
      at java.base/java.lang.Thread.run(Thread.java:842)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                goetz Goetz Lindenmaier
                Reporter:
                kvn Vladimir Kozlov
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: