RFR(S): 8152667: MHs.iteratedLoop(...) throws unexpected WMTE, disallows Iterator subclasses, generates inconsistent loop result type

Claes Redestad claes.redestad at oracle.com
Fri Apr 22 10:13:48 UTC 2016


change looks good.

There's a small pre-existing inefficiency in that initit is created 
unconditionally but only used if iterator == null, thus could be 
refactored into an if (iterator == null) ... else construct



On 2016-04-20 11:25, Michael Haupt wrote:
> Dear all,
> please review this change.
> Bug: https://bugs.openjdk.java.net/browse/JDK-8152667
> Webrev: http://cr.openjdk.java.net/~mhaupt/8152667/webrev.00/
> Thanks,
> Michael

More information about the core-libs-dev mailing list