RFR (S) 8024599: JSR 292 direct method handles need to respect initialization rules for static members

John Rose john.r.rose at oracle.com
Thu Sep 19 21:38:30 UTC 2013

On Sep 12, 2013, at 7:24 PM, John Rose <john.r.rose at oracle.com> wrote:

> Please review this change for a change to the JSR 292 implementation:
> http://cr.openjdk.java.net/~jrose/8024599/webrev.00/
> Summary: Align MH semantic with bytecode behavior of constructor and static member accesses, regarding <clinit> invocation.
> The change is to javadoc and unit tests, documenting and testing some corner cases of JSR 292 APIs.

I have a reviewer (Alex Buckley) for the documentation changes, but I would also like a quick code review for the unit test.

Also, there is a code insertion (predicated on a "false" symbolic constant) which serves to document the buggy JDK 7 behavior.  I'm not particularly attached to it, so I'm open to either a yea or nay on keeping it.  Leaning nay at the moment.

— John

More information about the core-libs-dev mailing list