RFR: 8244853 - The static build of libextnet is missing the JNI_OnLoad_extnet function

Alan Bateman Alan.Bateman at oracle.com
Thu May 14 13:40:07 UTC 2020


On 14/05/2020 14:09, Andrew Dinn wrote:
> :
> I was unaware that this was a spec requirement for static libs. Can you
> point me at any discussion that explains why this is required and what
> the function might be expected to do? or even tell me when it was added
> to the spec? The macro appears to implement an empty function. Is there
> any expectation/requirement that it could/should do something more than
> that?
>
I see Bob's mail with a link to the JEP. You might also be looking for 
the "Support for Statically Linked Libraries" section of the JNI spec 
[1] that came from that JEP.

-Alan

[1] 
https://docs.oracle.com/en/java/javase/14/docs/specs/jni/invocation.html#support-for-statically-linked-libraries




More information about the net-dev mailing list