5029431: (bf) Add absolute bulk put and get methods

Alan Bateman Alan.Bateman at oracle.com
Thu Feb 14 13:25:49 UTC 2019


On 13/02/2019 22:15, Brian Burkhalter wrote:
>
> I changed all the conditions which would have provoked a 
> Buffer*flowException back to IOOBEs:
>
> http://cr.openjdk.java.net/~bpb/5029431/webrev.03/
>
> The reverted work to put the Buffer*flowExceptions in was not a waste 
> time as it resulted in some verbiage improvements as well as locating 
> and correcting one or two incidental javadoc errors elsewhere.
>
The 4 methods to do bulk transfers to/from arrays looks good.

[ Still mulling on put(index, src, srcIndex, length), partly as it's not 
clear if put(index, src) should be added at the same time ]

-Alan


More information about the nio-dev mailing list