JDK-8009616 : java/lang/invoke/MethodHandlesTest.java failure: testAsInterfaceInstance
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang.invoke
  • Affected Version: 8-repo-lambda
  • Priority: P3
  • Status: Closed
  • Resolution: Cannot Reproduce
  • Submitted: 2013-03-07
  • Updated: 2015-04-24
  • Resolved: 2015-04-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9Resolved
Related Reports
Relates :  
Description
TESTFAIL:java/lang/invoke/MethodHandlesTest.java

java/lang/invoke/MethodHandlesTest.java 

#section:junit
----------messages:(3/312)----------
command: junit -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies -esa test.java.lang.invoke.MethodHandlesTest
reason: User specified action: run junit/othervm/timeout=2500 -XX:+IgnoreUnrecognizedVMOptions -XX:-VerifyDependencies -esa test.java.lang.invoke.MethodHandlesTest 
elapsed time (seconds): 6.938
----------System.out:(0/0)----------
----------System.err:(15/977)----------
JavaTest Message: JUnit Failure: testAsInterfaceInstance(test.java.lang.invoke.MethodHandlesTest): Failed to throw on test.java.lang.invoke.MethodHandlesTest$PrivateRunnable
java.lang.Exception: JUnit test failure
	at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:98)
	at com.sun.javatest.regtest.JUnitAction$JUnitRunner.main(JUnitAction.java:77)
	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:487)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:722)

JavaTest Message: Test threw exception: java.lang.Exception: JUnit test failure
JavaTest Message: shutting down test

STATUS:Failed.`main' threw exception: java.lang.Exception: JUnit test failure
result: Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure


test result: Failed. Execution failed: `main' threw exception: java.lang.Exception: JUnit test failure

Test pass in tl nightly but fail in lambda nightly
Comments
Can't reproduce the failure with latest 9.
24-04-2015

8-defer-request: This is a test failure not a product one. No need to fix this for JDK8. Defer this to 9. Risk: None, test bug.
08-01-2014

This should get reassigned to the 292 team.
01-10-2013