RFR 9: 8065570: (bf spec) ByteBuffer.slice() should make it clear that the initial order is BIG_ENDIAN

Alan Bateman Alan.Bateman at oracle.com
Tue Jul 14 11:03:37 UTC 2015


On 14/07/2015 02:34, Brian Burkhalter wrote:
>
> Webrev:http://cr.openjdk.java.net/~bpb/8065570/webrev.01/ 
> <http://cr.openjdk.java.net/%7Ebpb/8065570/webrev.01/>
> Specdiff:http://cr.openjdk.java.net/~bpb/8065570/specdiff.01/ 
> <http://cr.openjdk.java.net/%7Ebpb/8065570/specdiff.01/>
>
> The gist of the change is to bring the specification of the byte order 
> into the method documentation in addition to having it in the package 
> and/or class documentation.
>
>
This looks right as it reinforces existing specification and implementation.

Can you double-check the tests to make sure that all cases are covered?

-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20150714/346ddd25/attachment.html>


More information about the nio-dev mailing list