sure, i will send the webrev soon.
Vyom
On Wednesday 17 October 2018 04:31 PM, Chris Hegarty wrote:
On 12/10/18 12:58, Daniel Fuchs wrote:
...
int available = impl.available();
return eof ? 0 : available;
addresses the issue of available potentially returning garbage
after EOF while being much less risky...
Agreed.
The above resolves the original reported potential bug,
without changing existing long-standing behavior.
Vyom, can you please proceed with the aboves source
change, and also update the existing CloseAvailable.java
to add additional coverage for this scenario.
Thanks,
-Chris.