RFR: 8304915: Create jdk.internal.util.Architecture enum and apply [v12]

Roger Riggs rriggs at openjdk.org
Wed Apr 12 17:47:21 UTC 2023


On Wed, 12 Apr 2023 09:07:34 GMT, Martin Doerr <mdoerr at openjdk.org> wrote:

>> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Correct mapping and test of ppc64
>
> Works on PPC64 Big Endian, now. However, little Endian fails:
> STARTED    ArchTest::isArch '[6] PPC64, false'
> org.opentest4j.AssertionFailedError: Mismatch PPC64 == PPC64 vs isPPC64 ==> expected: <true> but was: <false>
> 	at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
> 	at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
> 	at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:182)
> 	at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:1152)
> 	at ArchTest.isArch(ArchTest.java:99)
> ...
> System property os.arch: "ppc64le", Architecture.current(): "PPC64"

@TheRealMDoerr Thanks for the ppc64 feedback and testing.

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

PR Comment: https://git.openjdk.org/jdk/pull/13357#issuecomment-1505685254



More information about the client-libs-dev mailing list