On 01/05/2023 10:57, Ron Pressler wrote:
:
Do you really plan to make JNI an optional feature which will have to
be manually enabled at startup?
Not optional at all, but an important, useful feature that is restricted; JNI’s 
replacement, FFM will be restricted, too (in its use of native libraries). The 
restriction of FFM is already mentioned in JEP 442. Another JEP addressing JNI 
will be published soonish.
Just to add that "Restricted methods" have been in the Java SE spec since Java 19. So far it has just been the restricted methods in the FFM API but it's hard to see how this would be extended to list Runtime.load/loadLibrary at some point.

-Alan

Reply via email to