RFR: 8374727: Audio configuration Platform class - use nio for getting endianness of the underlying platform [v2]
Matthias Baesken
mbaesken at openjdk.org
Tue Jan 13 14:12:13 UTC 2026
On Mon, 12 Jan 2026 17:34:32 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> Just checked how other JDK coding is doing the LE/BE test, then copied it from here
>> https://github.com/openjdk/jdk/blob/7cf7f01fb339bf3c5b81d946be8afa71ec267e42/src/java.security.jgss/share/classes/sun/security/krb5/internal/util/KrbDataInputStream.java#L49
>> Should I instead import `java.nio.ByteOrder` ?
>
> yes this is how it is used in desktop module.
I added the import.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/29113#discussion_r2686579614
More information about the client-libs-dev
mailing list