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

Test vmTestbase/vm/mlvm/indy/func/jvmti/mergeCP_none2indy_b/TestDescription.java failed at redefinition

XMLWordPrintable

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

      RuntimeException: Original target method was called instead of the redefined one.


      ----------System.out:(90/6342)*----------
      - IndyRedefineClass.cpp, 62: Setting redefined class name to vm\\mlvm\\indy\\func\\jvmti\\mergeCP_none2indy_b\\INDIFY_Dummy0
      - IndyRedefineClass.cpp, 56: Setting redefine trigger method name to redefineNow
      - IndyRedefineClass.cpp, 134: Entering redefine tigger method: Lvm/mlvm/indy/func/jvmti/mergeCP_none2indy_b/INDIFY_Dummy0;.redefineNow
      - IndyRedefineClass.cpp, 142: Redefining class vm\\mlvm\\indy\\func\\jvmti\\mergeCP_none2indy_b\\INDIFY_Dummy0
      # info :: File = ./bin/newclass/vm\\mlvm\\indy\\func\\jvmti\\mergeCP_none2indy_b\\INDIFY_Dummy0.class
      # info **Agent:: opening file ./bin/newclass/vm\\mlvm\\indy\\func\\jvmti\\mergeCP_none2indy_b\\INDIFY_Dummy0.class
      # info file size= 3156
       File red completely
      - IndyRedefineClass.cpp, 96: Enabling single step
      - IndyRedefineClass.cpp, 175: Single step event: Ljava/util/concurrent/locks/AbstractQueuedSynchronizer$Node; .getAndUnsetStatus :0
      - IndyRedefineClass.cpp, 105: Forcing early return
      - IndyRedefineClass.cpp, 90: Disabling single step
      #>
      #> WARNING: switching log to verbose mode,
      #> because error is complained
      #>
      # ERROR: Test caught an exception:
      # ERROR: java.lang.RuntimeException
      # ERROR: at vm.mlvm.share.Env.throwAsUncheckedException(Env.java:193)
      # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:350)
      # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:244)
      # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:186)
      # ERROR: at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:157)
      # ERROR: at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
      # ERROR: at vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.main(IndyRedefineTest.java:62)
      # ERROR: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      # ERROR: at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      # ERROR: at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      # ERROR: at java.base/java.lang.Thread.run(Thread.java:1583)
      # ERROR: Caused by: java.lang.reflect.InvocationTargetException
      # ERROR: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:118)
      # ERROR: at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      # ERROR: at vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.run(IndyRedefineTest.java:48)
      # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTestInstance(MlvmTestExecutor.java:382)
      # ERROR: at vm.mlvm.share.MlvmTestExecutor.runMlvmTest(MlvmTestExecutor.java:327)
      # ERROR: ... 9 more
      # ERROR: Caused by: java.lang.RuntimeException: Original target method was called instead of the redefined one. Test failed.
      # ERROR: at vm.mlvm.indy.func.jvmti.mergeCP_none2indy_b.INDIFY_Dummy0.target(Unknown Source)
      # ERROR: at vm.mlvm.indy.func.jvmti.mergeCP_none2indy_b.INDIFY_Dummy0.invokeTarget0(Unknown Source)
      # ERROR: at vm.mlvm.indy.func.jvmti.mergeCP_none2indy_b.INDIFY_Dummy0.invokeTarget(Unknown Source)
      # ERROR: at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      # ERROR: ... 13 more
      The following stacktrace is for failure analysis.
      nsk.share.TestFailure: Test caught an exception: java.lang.RuntimeException
      at nsk.share.Log.logExceptionForFailureAnalysis(Log.java:431)
      at nsk.share.Log.complain(Log.java:402)
      at nsk.share.Log.complain(Log.java:413)
      at vm.mlvm.share.Env.complain(Env.java:172)
      at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:246)
      at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:186)
      at vm.mlvm.share.MlvmTestExecutor.launch(MlvmTestExecutor.java:157)
      at vm.mlvm.share.MlvmTest.launch(MlvmTest.java:325)
      at vm.mlvm.indy.func.jvmti.share.IndyRedefineTest.main(IndyRedefineTest.java:62)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
      at java.base/java.lang.reflect.Method.invoke(Method.java:578)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1583)
      ### TRACE 1: TEST FAILED

            sspitsyn Serguei Spitsyn
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: