5071718: (bf) Add ByteBuffer.slice(int offset, int length)

Brian Burkhalter brian.burkhalter at oracle.com
Mon Feb 25 21:41:25 UTC 2019

Updated [1] to allow for the case ‘slice(limit(),0)' with no IOOBE and to add ‘slice(int,int)’ to the “additional operations” section of the Buffer class-level specification.

The CSR [2] description has also been updated but not the specdiff attachment: will hold off on that until the verbiage is agreed upon.



[1] http://cr.openjdk.java.net/~bpb/5071718/webrev.01/
[2] https://bugs.openjdk.java.net/browse/JDK-8219608

More information about the nio-dev mailing list