RFR: 8374727: Audio configuration Platform class - use nio for getting endianness of the underlying platform [v2]

Matthias Baesken mbaesken at openjdk.org
Fri Jan 9 11:42:51 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.

Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision:

  Simplify isBigEndian

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29113/files
  - new: https://git.openjdk.org/jdk/pull/29113/files/4d341769..90202d64

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29113&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29113&range=00-01

  Stats: 4 lines in 1 file changed: 0 ins; 3 del; 1 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