RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v9]
Roger Riggs
rriggs at openjdk.org
Tue Apr 11 17:14:41 UTC 2023
On Tue, 11 Apr 2023 10:39:39 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:
>> This should (probably) be correct:
>> Suggestion:
>>
>> case PPC64 -> !OperatingSystem.isAix() && Architecture.isLittleEndian();
>
> Looks correct, but makes the test pointless for any linux on PPC64.
Will change to compare `isLittleEndian` with `!Unsafe.isBigEndian()`.
The runtime must match the build time.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13357#discussion_r1163112421
More information about the serviceability-dev
mailing list