[External] : Re: JEP draft: Prepare to Restrict The Use of JNI

Attila Kelemen attila.kelemen85 at gmail.com
Tue Aug 29 16:29:06 UTC 2023


>
>
> The whole point of this JEP is to give the choice of enabling JNI to the
> user. If a library developer can enable JNI by saying `requires native;`
> in a module, then the choice isn't given to the user.
>
>
It is not about the library developer enabling JNI to the user (though I do
remember that somebody mentioned that possibility as well). Glavo, and many
others (including me) want the *main* module to be able to declare it, and
the main module is the user.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jdk-dev/attachments/20230829/038bc00f/attachment.htm>


More information about the jdk-dev mailing list