Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing JTReg: java/lang/invoke/TryFinallyTest.java #7154

Closed
M-Davies opened this issue Sep 19, 2019 · 1 comment
Closed

Failing JTReg: java/lang/invoke/TryFinallyTest.java #7154

M-Davies opened this issue Sep 19, 2019 · 1 comment

Comments

@M-Davies
Copy link

Failure link

https://github.com/ibmruntimes/openj9-openjdk-jdk11/blob/4d41e016d25f4fd55a044c9e6556dba844f164a3/test/jdk/java/lang/invoke/TryFinallyTest.java#L1 fails for JDK11-openj9 and JDK13-openj9 (hotspot unaffected)

  • test category, openjdk
  • OS/architecture, openjdk_x86-64_linux, openjdk_x86-64_windows

JDK11 Version

09:28:34  openjdk version "11.0.5" 2019-10-15
09:28:34  OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.5+7-201909161809)
09:28:34  Eclipse OpenJ9 VM AdoptOpenJDK (build master-c4d0e5132, JRE 11 Linux amd64-64-Bit Compressed References 20190916_334 (JIT enabled, AOT enabled)
09:28:34  OpenJ9   - c4d0e5132
09:28:34  OMR      - 265676ac
09:28:34  JCL      - 2d77cb2d93 based on jdk-11.0.5+7)

JDK13 Version

09:29:46  openjdk version "13" 2019-09-17
09:29:46  OpenJDK Runtime Environment AdoptOpenJDK (build 13+33-201909170407)
09:29:46  Eclipse OpenJ9 VM AdoptOpenJDK (build master-57ec9be1c, JRE 13 Linux amd64-64-Bit Compressed References 20190917_76 (JIT enabled, AOT enabled)
09:29:46  OpenJ9   - 57ec9be1c
09:29:46  OMR      - ea20a3b7
09:29:46  JCL      - 05ba4bd2f3 based on jdk-13+33)

Optional info

Failure output (captured from console output)

JDK11

09:31:25  STDOUT:
09:31:25  [TestNG] Running:
09:31:25    java/lang/invoke/TryFinallyTest.java
09:31:25  
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinally(): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle(int)int, MethodHandle(double)double, "target and return types must match: double != int"): failure
09:31:25  java.lang.AssertionError: expected:<target and return types must match: double != int> but was:<The return type of the try handle: int is inconsistent with the return type of the finally handle: double>
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:25  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:25  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:25  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:25  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:25  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:25  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:25  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:25  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:25  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:25  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:25  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:25  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:25  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:25  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:25  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:25  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle(int)int, MethodHandle(String,int)int, "cleanup first argument and Throwable must match: (String,int)int != class java.lang.Throwable"): failure
09:31:25  java.lang.AssertionError: expected:<cleanup first argument and Throwable must match: (String,int)int != class java.lang.Throwable> but was:<The 1st parameter type of the finally handle: String is not Throwable>
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:25  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:25  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:25  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:25  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:25  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:25  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:25  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:25  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:25  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:25  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:25  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:25  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:25  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:25  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:25  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:25  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle(int)int, java.lang.invoke.BruteArgumentMoverHandle@1c5c2db1, "cleanup second argument and target return type must match: (Throwable,double,int)int != int"): failure
09:31:25  java.lang.AssertionError: expected:<cleanup second argument and target return type must match: (Throwable,double,int)int != int> but was:<The 2nd parameter type of the finally handle: double is inconsistent with the return type of the try handle: int>
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:25  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:25  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:25  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:25  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:25  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:25  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:25  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:25  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:25  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:25  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:25  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:25  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:25  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:25  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:25  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:25  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(java.lang.invoke.ConstantIntHandle@85db2671, java.lang.invoke.ConstantIntHandle@aa1821e5, "cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int,double,Object)int != (int,double,String,int)int"): failure
09:31:25  java.lang.AssertionError: expected:<cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int,double,Object)int != (int,double,String,int)int> but was:<The parameter type of the finally handle: double at index 2 is inconsistent with the parameter type of the try handle: int at index 0>
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:25  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:25  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:25  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:25  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:25  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:25  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:25  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:25  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:25  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:25  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:25  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:25  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:25  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:25  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:25  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:25  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle()void, java.lang.invoke.BruteArgumentMoverHandle@a3d69cc2, "cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int)void != ()void"): failure
09:31:25  java.lang.AssertionError: expected:<cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int)void != ()void> but was:<The parameter count of the finally handle (excluding the result type and exception): 1 must be <= the parameter count of the try handle: 0>
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:25  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:25  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:25  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:25  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:25  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:25  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:25  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:25  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:25  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:25  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:25  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:25  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:25  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:25  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:25  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:25  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:25  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:25  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:25  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:25  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:25  	at java.base/java.lang.reflect.Method.invoke(Method.java:566)
09:31:25  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:25  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(MethodHandle(Throwable)void): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@9c784d45): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@f8e13b87): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@5f937463): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@1df7f737): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallySublist(): success
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyThrowableCheck(): success
09:31:25  Hello, world!
09:31:25  test test.java.lang.invoke.TryFinallyTest.testTryFinallyVoid(): success

JDK13

09:31:29  STDOUT:
09:31:29  [TestNG] Running:
09:31:29    java/lang/invoke/TryFinallyTest.java
09:31:29  
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinally(): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle(int)int, MethodHandle(double)double, "target and return types must match: double != int"): failure
09:31:29  java.lang.AssertionError: expected:<target and return types must match: double != int> but was:<The return type of the try handle: int is inconsistent with the return type of the finally handle: double>
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:29  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:29  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:29  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:29  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:29  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:29  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:29  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:29  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:29  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:29  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:29  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:29  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:29  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:29  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:29  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:29  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle(int)int, MethodHandle(String,int)int, "cleanup first argument and Throwable must match: (String,int)int != class java.lang.Throwable"): failure
09:31:29  java.lang.AssertionError: expected:<cleanup first argument and Throwable must match: (String,int)int != class java.lang.Throwable> but was:<The 1st parameter type of the finally handle: String is not Throwable>
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:29  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:29  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:29  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:29  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:29  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:29  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:29  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:29  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:29  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:29  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:29  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:29  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:29  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:29  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:29  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:29  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle(int)int, java.lang.invoke.BruteArgumentMoverHandle@2911d57, "cleanup second argument and target return type must match: (Throwable,double,int)int != int"): failure
09:31:29  java.lang.AssertionError: expected:<cleanup second argument and target return type must match: (Throwable,double,int)int != int> but was:<The 2nd parameter type of the finally handle: double is inconsistent with the return type of the try handle: int>
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:29  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:29  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:29  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:29  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:29  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:29  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:29  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:29  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:29  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:29  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:29  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:29  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:29  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:29  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:29  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:29  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(java.lang.invoke.ConstantIntHandle@bddb9ed, java.lang.invoke.ConstantIntHandle@31390631, "cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int,double,Object)int != (int,double,String,int)int"): failure
09:31:29  java.lang.AssertionError: expected:<cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int,double,Object)int != (int,double,String,int)int> but was:<The parameter type of the finally handle: double at index 2 is inconsistent with the parameter type of the try handle: int at index 0>
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:29  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:29  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:29  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:29  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:29  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:29  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:29  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:29  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:29  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:29  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:29  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:29  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:29  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:29  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:29  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:29  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(MethodHandle()void, java.lang.invoke.BruteArgumentMoverHandle@8f13a04f, "cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int)void != ()void"): failure
09:31:29  java.lang.AssertionError: expected:<cleanup parameters after (Throwable,result) and target parameter list prefix must match: (Throwable,int)void != ()void> but was:<The parameter count of the finally handle (excluding the result type and exception): 1 must be <= the parameter count of the try handle: 0>
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:101)
09:31:29  	at org.testng.AssertJUnit.assertEquals(AssertJUnit.java:108)
09:31:29  	at test.java.lang.invoke.TryFinallyTest.testTryFinallyNegative(TryFinallyTest.java:121)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at org.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:85)
09:31:29  	at org.testng.internal.Invoker.invokeMethod(Invoker.java:639)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:821)
09:31:29  	at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1131)
09:31:29  	at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:125)
09:31:29  	at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:108)
09:31:29  	at org.testng.TestRunner.privateRun(TestRunner.java:773)
09:31:29  	at org.testng.TestRunner.run(TestRunner.java:623)
09:31:29  	at org.testng.SuiteRunner.runTest(SuiteRunner.java:357)
09:31:29  	at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:352)
09:31:29  	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:310)
09:31:29  	at org.testng.SuiteRunner.run(SuiteRunner.java:259)
09:31:29  	at org.testng.SuiteRunnerWorker.runSuite(SuiteRunnerWorker.java:52)
09:31:29  	at org.testng.SuiteRunnerWorker.run(SuiteRunnerWorker.java:86)
09:31:29  	at org.testng.TestNG.runSuitesSequentially(TestNG.java:1185)
09:31:29  	at org.testng.TestNG.runSuitesLocally(TestNG.java:1110)
09:31:29  	at org.testng.TestNG.run(TestNG.java:1018)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:94)
09:31:29  	at com.sun.javatest.regtest.agent.TestNGRunner.main(TestNGRunner.java:54)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
09:31:29  	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
09:31:29  	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
09:31:29  	at java.base/java.lang.reflect.Method.invoke(Method.java:567)
09:31:29  	at com.sun.javatest.regtest.agent.MainWrapper$MainThread.run(MainWrapper.java:127)
09:31:29  	at java.base/java.lang.Thread.run(Thread.java:831)
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(MethodHandle(Throwable)void): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@7ddc8f6a): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@caad4b5c): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@3db494): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyOmitTrailingArguments(java.lang.invoke.BruteArgumentMoverHandle@23bd4e04): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallySublist(): success
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyThrowableCheck(): success
09:31:29  Hello, world!
09:31:29  test test.java.lang.invoke.TryFinallyTest.testTryFinallyVoid(): success

testOutput(JDK11).gz
testOutput(JDK13).gz

@M-Davies
Copy link
Author

@pshipton pshipton added this to To do in JTReg failures via automation Sep 19, 2019
JTReg failures automation moved this from To do to Done Mar 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant