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

Alex Buckley alex.buckley at oracle.com
Tue Aug 29 16:24:53 UTC 2023


On 8/29/2023 8:35 AM, Attila Kelemen wrote:
> That is a completely invalid argument. I wrote "many people proposed 
> basically the same thing", and then you try to refute it by stating that 
> there was one guy who didn't. This is a non-sequitur. Secondly, your 
> claim is not even true, because Glavo wanted to set a flag in the main 
> module. That is not zero flag no matter how I count it.

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.

Alex


More information about the jdk-dev mailing list