RFR 8139206: Add InputStream readNBytes(int len)

Alan Bateman Alan.Bateman at oracle.com
Mon Jan 22 09:14:59 UTC 2018


On 22/01/2018 08:44, Peter Levart wrote:
>
> The delegation to public method (readAllBytes -> readNBytes) should 
> then be documented so that subclasses know that overriding readNBytes, 
> if needed, is sufficient.
It doesn't delegate in the latest version of the patch so the 
documentation is right. However, I think you bring up a good point as 
specifying it that way means that sub-classes need only override readNBytes.

-Alan


More information about the core-libs-dev mailing list