On Fri, 25 Jun 2021 13:30:56 GMT, Yi Yang <yy...@openjdk.org> wrote:

> Hi, can I have a review of this change that adds two new utility methods for 
> java.nio.ByteOrder? Looking through the whole JDK codebase, most calls of 
> ByteOrder.nativeOrder() is to check if the underlying platform is 
> little-endian/big-endian(e.g. #4596 ). There is no reason to only provide 
> ByteOrder.nativeOrder while leaving big-endian/little-endian checking methods 
> blank.
> 
> Thanks!

If this is accepted as a new enhancement, it will need a CSR.

Personally, I don't see enough justification for such a convenience method, but 
this isn't my area, so my opinion doesn't carry any weight.

-------------

PR: https://git.openjdk.java.net/jdk/pull/4595

Reply via email to