SUN_ARCH_ABI property not set or in release file for aarch64 builds

Simon Nash simon at cjnash.com
Mon Apr 3 16:53:19 UTC 2017


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 aarch32-port-dev mailing list