Hermetic Java (static image packaging/formatting) investigation and proposal

Jiangli Zhou jianglizhou at google.com
Mon Feb 13 19:59:49 UTC 2023


On Mon, Feb 13, 2023 at 3:46 AM Alan Bateman <Alan.Bateman at oracle.com>
wrote:

> 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.
>

Right, the current proposal was built on top of JEP 178 by making it as a
complete solution.

Best,
Jiangli


> -Alan
>
> [1] https://openjdk.org/jeps/178
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/leyden-dev/attachments/20230213/97fb7582/attachment.htm>


More information about the leyden-dev mailing list