On Fri, 9 Jan 2026 11:42:51 GMT, Matthias Baesken <[email protected]> wrote:
>> Currently Platform.java from the audio coding uses its own native code to >> get the endianness info of the underlying hardware it runs on. >> See >> https://github.com/openjdk/jdk/blob/da14813a5bdadaf0a1f81fa57ff6e1b103eaf113/src/java.desktop/share/classes/com/sun/media/sound/Platform.java#L86 >> But we can reuse existing Java JDK code e.g. from nio. > > Matthias Baesken has updated the pull request incrementally with one > additional commit since the last revision: > > Simplify isBigEndian src/java.desktop/share/classes/com/sun/media/sound/Platform.java line 63: > 61: */ > 62: static boolean isBigEndian() { > 63: return > java.nio.ByteOrder.nativeOrder().equals(java.nio.ByteOrder.BIG_ENDIAN); what is a purpose to use fqdn for ByteOrder class here? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/29113#discussion_r2681013670
