Re: RFR(S): 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0

2016-04-11 Thread Claes Redestad
On 2016-04-11 11:17, Paul Sandoz wrote: On 11 Apr 2016, at 10:36, Michael Haupt wrote: Dear all, please review this change. Bug: https://bugs.openjdk.java.net/browse/JDK-8153637 Webrev: http://cr.openjdk.java.net/~mhaupt/8153637/webrev.00/ The countedLoop implementation currently initialise

Re: RFR(S): 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0

2016-04-11 Thread Paul Sandoz
> On 11 Apr 2016, at 10:36, Michael Haupt wrote: > > Dear all, > > please review this change. > Bug: https://bugs.openjdk.java.net/browse/JDK-8153637 > Webrev: http://cr.openjdk.java.net/~mhaupt/8153637/webrev.00/ > > The countedLoop implementation currently initialises the loop counter to the

RFR(S): 8153637: MethodHandles.countedLoop/3 initialises loop counter to 1 instead of 0

2016-04-11 Thread Michael Haupt
Dear all, please review this change. Bug: https://bugs.openjdk.java.net/browse/JDK-8153637 Webrev: http://cr.openjdk.java.net/~mhaupt/8153637/webrev.00/ The countedLoop implementation currently initialises the loop counter to the start value and, because this takes place in the very first loop c