Test cases related to JSR 292
John Rose
john.r.rose at oracle.com
Thu Apr 21 10:07:04 PDT 2011
On Apr 21, 2011, at 9:41 AM, forum at x9c.fr wrote:
> Thanks for the information.
> I wondered whether the EG had a "hidden" set of tests cases...
I think there are two "hidden" sets, neither of which are (AFAIK) open source: There is an engineering group in Oracle which is developing JCK tests. IBM's J9 group has their own implementation, which presumably has unit tests. The EG as a whole has no access to these, though individual members do.
The EG's workflow is pretty simple: We discuss the API, and I push the decisions (and sometimes suggestions under discussion) into the Reference Implementation javadoc. The RI is staged on the mlvm-dev patch repo, and then into OpenJDK.
The reference implementation is in OpenJDK (7 not 6), which includes the unit tests Christian referred to. They consist of JUnit files like "MethodHandlesTest.java". Invokedynamic coverage goes through the "Indify" hack to generate the instructions from Java source.
Beyond that, invokedynamic is exercised vigorously by the language implementations which are beginning to use it, such as JRuby.
-- John
More information about the mlvm-dev
mailing list