8164993: (ch) ReadableByteChannel should note a possible ReadOnlyBufferException

Alan Bateman Alan.Bateman at oracle.com
Wed Nov 20 07:41:34 UTC 2019


On 20/11/2019 02:31, Brian Burkhalter wrote:
> :
>
> I’ve updated the change to include the other locations mentioned. I 
> did not see any others.
>
In the FileChannel case I assume it should be "If the position is 
negative or the buffer is read-only" as it already specifies that it 
throws IAE. The rest look right.

-Alan


More information about the nio-dev mailing list