[jdk17] RFR: 8269668: [aarch64] java.library.path not including /usr/lib64

Andrew Haley aph at openjdk.java.net
Fri Jul 2 08:48:01 UTC 2021


On Fri, 2 Jul 2021 08:06:07 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> This fix simplifies the `if` condition to use a default 64-bit library path including default setting when `_LP64` is defined (os has 64-bitness). This should be safe IMHO and seems better than explicitly enumerating all 64 bit Linux architectures.
> 
> This issue affects older releases and I'd like to get this fix into JDK 17. Thoughts?

I'm trying to think of ways this might break.

I'm not sure about "should be safe". I'm not an expert on Debian and
Ubuntu, but AFAIK /usr/lib is the installed system's default arch,
with multi-arch stuff like /usr/lib/i386-linux-gnu, etc. On such
systems I believe that /usr/lib64 is often symlinked to point to

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

PR: https://git.openjdk.java.net/jdk17/pull/200


More information about the hotspot-runtime-dev mailing list