[aarch64-port-dev ] SUN_ARCH_ABI property not set or in release file for aarch64 builds

Bob Vandette bob.vandette at oracle.com
Mon Apr 3 16:58:55 UTC 2017


The Oracle binaries for JDK 8 and JDK 9 Linux arm already include this property for the 
32-bit ARM binaries.

The only release that in question is the 64-bit aarch64 Linux distribution.  There’s really
no need for this property since there’s only 1 ABI that’s widely used today on that
architecture.

Bob.

> On Apr 3, 2017, at 12:53 PM, Simon Nash <simon at cjnash.com> wrote:
> 
> Hi Bob,
> I would find such a property very useful.
> 
> My application is mostly written in Java but also uses a native library
> that is loaded dynamically by the Java code.  In order to distribute
> fewer versions of the application and make things simpler for users,
> I have recently started packaging multiple versions of the native library
> (for example, Intel x86 and Intel x64) in a single version of the
> application and using Java runtime properties to determine which of
> these native libraries to load.
> 
> I would like to do this for gnueabi and gnueabihf if I could find a
> reliable way to determine at runtime which of these native libraries
> is needed.  It sounds like this property would be an ideal solution.
> 
> Best regards,
> Simon
> 
> On 03/04/2017 16:57, Bob Vandette wrote:
>> I’m inclined to not fix this bug but thought I’d bring it to your attention just in case.
>> I assume that OpenJDK ARM builds never set this property anyway, right?
>> https://bugs.openjdk.java.net/browse/JDK-8177976 <https://bugs.openjdk.java.net/browse/JDK-8177976>
>> Bob.
> 



More information about the aarch64-port-dev mailing list