RFR: 8374727: Audio configuration Platform class - use nio for getting endianness of the underlying platform
Matthias Baesken
mbaesken at openjdk.org
Thu Jan 8 10:21:53 UTC 2026
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.
-------------
Commit messages:
- JDK-8374727
Changes: https://git.openjdk.org/jdk/pull/29113/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29113&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8374727
Stats: 79 lines in 5 files changed: 3 ins; 69 del; 7 mod
Patch: https://git.openjdk.org/jdk/pull/29113.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29113/head:pull/29113
PR: https://git.openjdk.org/jdk/pull/29113
More information about the client-libs-dev
mailing list