RFR(S): 8150957: j.l.i.MethodHandles.whileLoop(...) fails with IOOBE in the case 'init' is null, 'step' and 'pred' have parameters

Paul Sandoz paul.sandoz at oracle.com
Thu Mar 3 10:58:35 UTC 2016

> On 2 Mar 2016, at 20:53, Michael Haupt <michael.haupt at oracle.com> wrote:
> Dear all,
> please review this change.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8150957
> Webrev: http://cr.openjdk.java.net/~mhaupt/8150957/webrev.00/
> The bug was actually fixed with the push for JDK-8150635. This change adds a test for the issue.

Looks good.

Minor comment, up to you to accept/reject: you could assert that “w.i” is the expected value after the loop invocation.


More information about the core-libs-dev mailing list