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

Roger Riggs rriggs at openjdk.org
Thu Apr 6 20:42:20 UTC 2023


On Thu, 6 Apr 2023 20:28:29 GMT, Thomas Stuefe <stuefe at openjdk.org> wrote:

> What about PPC (big endian)? Used on AIX?

I'm not aware of any code (in OpenJDK) related to big/little endian that is derived from `os.arch`.

> 
> On Arm, it may be useful to know whether we built for thumb mode (We recently had this problem in tests).

For tests, there is the test library `jdk.test.lib.Platform` class with its own set of predicates.

For the moment, the idea is to do the minimum to replace OpenJDK internal uses of `os.arch`.

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

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



More information about the client-libs-dev mailing list