Hermetic Java (static image packaging/formatting) investigation and proposal
Alan Bateman
Alan.Bateman at oracle.com
Mon Feb 13 11:46:09 UTC 2023
On 13/02/2023 09:58, Florian Weimer wrote:
> :
>> Yeah, the loadLibrary and friends need to be able look up built-in
>> libraries in the executable (within the image ELF section). The
>> existing JDK code is already able to handle built-in libraries
>> (partially). Please see more details for built-in native support in
>> earlier comments.
> I believe that will require a custom glibc patch that has not been
> upstreamed.
JEP 178 [1] added support for statically linking native libs. It might
be that this proposal builds on that.
-Alan
[1] https://openjdk.org/jeps/178
More information about the leyden-dev
mailing list