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

java/lang/invoke/CallSiteTest.java failed with InvocationTargetException in Graal mode

    Details

    • Subcomponent:
    • Resolved In Build:
      b28

      Backports

        Description

        Test java/lang/invoke/CallSiteTest.java failed with

        ----------System.err:(35/2261)----------
        patching test/java/lang/invoke/CallSiteTest.runMutableCallSite()I
        11:invokestatic 162 INDY_mcs()L;...; 18:invokevirtual 166 => invokedynamic 261:InvokeDynamic[0, 259]
        patching test/java/lang/invoke/CallSiteTest.runVolatileCallSite()I
        11:invokestatic 169 INDY_vcs()L;...; 18:invokevirtual 166 => invokedynamic 262:InvokeDynamic[1, 259]
        java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        at indify.Indify.run(Indify.java:130)
        at indify.Indify.main(Indify.java:106)
        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:127)
        at java.base/java.lang.Thread.run(Thread.java:832)
        Caused by: java.lang.reflect.InvocationTargetException
        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 indify.Indify.runApplication(Indify.java:158)
        at indify.Indify.run(Indify.java:127)
        ... 7 more
        Caused by: java.lang.AssertionError: should not throw
        at test.java.lang.invoke.CallSiteTest.test(CallSiteTest.java:88)
        at test.java.lang.invoke.CallSiteTest.testConstantCallSite(CallSiteTest.java:132)
        at test.java.lang.invoke.CallSiteTest.main(CallSiteTest.java:68)
        ... 13 more
        Caused by: java.lang.IllegalStateException: uninitialized call site
        at java.base/java.lang.invoke.CallSite.uninitializedCallSite(CallSite.java:261)
        at test.java.lang.invoke.CallSiteTest.test(CallSiteTest.java:82)
        ... 15 more

        JavaTest Message: Test threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
        JavaTest Message: shutting down test

        STATUS:Failed.`main' threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

        when running in Graal as JIT mode.

        The issue seems is intermittent, for me the test failed on 12th iteration.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  dlong Dean Long
                  Reporter:
                  epavlova Ekaterina Pavlova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  7 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: