As discovered while adding ppc64le support to the Java Native Runtime: https://github.com/jnr/jnr-ffi/issues/33#issuecomment-83059004
OpenJDK on Linux ppc64le currently reports the platform arch as "ppc64" rather than "ppc64le" as you would find in uname. We believe the little-endian suffix should be included, rather than platform-specific code having to check both arch and endianness.
I'm not sure where the value for os.arch is defined, but presumably this happens during build. I was also unable to determine if ppc64le is a supported platform in the main OpenJDK codebase, or if it is only supported by individual Linux vendors.
Unsure about component, but since this is a standard property I'm going with core-libs for now.
OpenJDK on Linux ppc64le currently reports the platform arch as "ppc64" rather than "ppc64le" as you would find in uname. We believe the little-endian suffix should be included, rather than platform-specific code having to check both arch and endianness.
I'm not sure where the value for os.arch is defined, but presumably this happens during build. I was also unable to determine if ppc64le is a supported platform in the main OpenJDK codebase, or if it is only supported by individual Linux vendors.
Unsure about component, but since this is a standard property I'm going with core-libs for now.
- duplicates
-
JDK-8073139 PPC64: User-visible arch directory and os.arch value on ppc64le cause issues with Java tooling
-
- Resolved
-