RFR 8191025: (ch) Scattering reads to a subsequence of buffers ignores length
Alan Bateman
Alan.Bateman at oracle.com
Thu Nov 9 21:18:50 UTC 2017
On 09/11/2017 20:54, Brian Burkhalter wrote:
> https://bugs.openjdk.java.net/browse/JDK-8191025
> http://cr.openjdk.java.net/~bpb/8191025/webrev.00/
>
> bufs.length was inadvertently passed instead of length resulting in a NPE when length < bufs.length and bufs[idx] == null for some idx in [length,bufs.length).
>
Looks good, just surprised it wasn't caught by other tests.
-Alan
More information about the nio-dev
mailing list