JDK-8060717 : [TESTBUG] Improve test coverage of MethodHandles.explicitCastArguments()
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.
Test development considerations:
* 4 major flavors: ref => ref (ref. cast), prim=>prim (prim. cast), ref => prim (unboxing), prim => ref (boxing),
* complete enumeration of primitive/wrapper types (boxing/unboxing) + a diverse set of classes/interfaces(casts + on/off boot classpath);
* individual type conversions are important, so focus should be on 0-arity & 1-arity cases (to check parameter & return type conversions);
* not much value in covering higher arities; small number of tests for mismatch in number of parameters is enough.
JDK-8060483 is the bug, which wasn't caught by our test suites.
test/java/lang/invoke/ExplicitCastArgumentsTest.java can be extended with the new tests.