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

Alan Bateman Alan.Bateman at oracle.com
Thu Feb 14 12:05:32 UTC 2019

On 14/02/2019 11:04, Chris Hegarty wrote:
> It is certainly interesting to compare the exceptional behaviour of
> these new absolute bulk methods to the existing absolute primitive
> methods of ByteBuffer. I hadn't considered that. Somewhat because I
> consider the new absolute bulk methods more closely aligned with the
> relative bulk methods, but mostly because the primitive getter/setters
> are ByteBuffer specific, while these new absolute bulk methods are
> across all buffer types.
The other observation is that buffer overflow/underflow can only occur 
with methods that adjust the buffer position. It might be beneficial to 
put something to that effect in the descriptions of these exceptions (if 
only to help future maintainers that might have to go through this same 


More information about the nio-dev mailing list