<div dir="ltr"><div dir="ltr">On Mon, Feb 13, 2023 at 3:46 AM Alan Bateman <<a href="mailto:Alan.Bateman@oracle.com">Alan.Bateman@oracle.com</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 13/02/2023 09:58, Florian Weimer wrote:<br>
> :<br>
>> Yeah, the loadLibrary and friends need to be able look up built-in<br>
>> libraries in the executable (within the image ELF section). The<br>
>> existing JDK code is already able to handle built-in libraries<br>
>> (partially). Please see more details for built-in native support in<br>
>> earlier comments.<br>
> I believe that will require a custom glibc patch that has not been<br>
> upstreamed.<br>
JEP 178 [1] added support for statically linking native libs. It might <br>
be that this proposal builds on that.<br></blockquote><div><br></div><div>Right, the current proposal was built on top of JEP 178 by making it as a complete solution.</div><div><br></div><div>Best,</div><div>Jiangli</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
-Alan<br>
<br>
[1] <a href="https://openjdk.org/jeps/178" rel="noreferrer" target="_blank">https://openjdk.org/jeps/178</a><br>
</blockquote></div></div>