On Dec 19, 2017, at 2:36 PM, Brian Burkhalter <[email protected]> wrote:
>> You can also simplify the “for(;;) + break" into a do while loop:
>>
>> do {
>> int nread = 0;
>> ...
>> } while (n > 0);
>
> Good suggestion but I think that this needs to be "while (n >= 0)."
Updated version here:
http://cr.openjdk.java.net/~bpb/8193832/webrev.02/
Thanks,
Brian
