Integrated: 8374727: Audio configuration Platform class - use nio for getting endianness of the underlying platform
Matthias Baesken
mbaesken at openjdk.org
Tue Jan 13 17:01:52 UTC 2026
On Thu, 8 Jan 2026 10:13:54 GMT, Matthias Baesken <mbaesken at openjdk.org> 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.
This pull request has now been integrated.
Changeset: 07403843
Author: Matthias Baesken <mbaesken at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/074038438f5b8b91e9390430b4fa58ff53e5df26
Stats: 77 lines in 5 files changed: 1 ins; 69 del; 7 mod
8374727: Audio configuration Platform class - use nio for getting endianness of the underlying platform
Reviewed-by: prr, kizune
-------------
PR: https://git.openjdk.org/jdk/pull/29113
More information about the client-libs-dev
mailing list