[9] RFR of 8065556: (bf) Buffer.position and other methods should include detail in IAE
Brian Burkhalter
brian.burkhalter at oracle.com
Mon Mar 23 23:19:56 UTC 2015
I hope that I got it right this time:
http://cr.openjdk.java.net/~bpb/8065556/webrev.02/
Thanks,
Brian
On Mar 23, 2015, at 3:41 PM, John Rose <john.r.rose at oracle.com> wrote:
> For now, I would add one more tweak to Martin's:
>
>> if ((newPosition > limit) | (newPosition < 0))
>> throw positionOutOfBoundsException(newPosition);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150323/53cf740b/attachment.html>
More information about the nio-dev
mailing list