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

java/lang/invoke/MethodHandleConstants.java fails

XMLWordPrintable

    • b114
    • x86_64
    • linux_ubuntu

      Fails with jdk1.8.0b114. Used to fail like JDK-8028114 before b114, so I think it's a regression

      ----------System.out:(0/0)----------
      ----------System.err:(37/2348)----------
      patching test/java/lang/invoke/MethodHandleConstants.main(L)V
      46:invokestatic 10 MH_String_replace_C2()L => ldc 299:MethodHandle[5, 298]
      79:invokestatic 16 MH_MethodHandle_invokeExact_SC2()L => ldc 302:MethodHandle[5, 301]
      117:invokestatic 19 MH_MethodHandle_invoke_SC2()L => ldc 305:MethodHandle[5, 304]
      155:invokestatic 21 MH_Class_forName_S()L => ldc 308:MethodHandle[6, 307]
      176:invokestatic 23 MH_Class_forName_SbCL()L => ldc 311:MethodHandle[6, 310]
      java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
      at indify.Indify.run(Indify.java:130)
      at indify.Indify.main(Indify.java:106)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      at java.lang.Thread.run(Thread.java:744)
      Caused by: java.lang.reflect.InvocationTargetException
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at indify.Indify.runApplication(Indify.java:158)
      at indify.Indify.run(Indify.java:127)
      ... 7 more
      Caused by: java.lang.InternalError: bad invokehandle
      at java.lang.invoke.MethodHandleNatives.resolve(Native Method)
      at java.lang.invoke.MemberName$Factory.resolve(MemberName.java:965)
      at java.lang.invoke.MemberName$Factory.resolveOrFail(MemberName.java:990)
      at java.lang.invoke.MethodHandles$Lookup.resolveOrFail(MethodHandles.java:1385)
      at java.lang.invoke.MethodHandles$Lookup.linkMethodHandleConstant(MethodHandles.java:1719)
      at java.lang.invoke.MethodHandleNatives.linkMethodHandleConstant(MethodHandleNatives.java:442)
      at test.java.lang.invoke.MethodHandleConstants.main(MethodHandleConstants.java:56)
      ... 13 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
      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: java.lang.reflect.InvocationTargetException

            vlivanov Vladimir Ivanov
            asakharu Aleksandr Sakharuk (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: