Comment by immibis

Comment by immibis 9 hours ago

1 reply

This says:

> It is not a goal to deprecate JNI or to remove JNI from the Java Platform.

It says they want to put a safety barrier in front of JNI, so you'll have to explicitly indicate that you want a module to use JNI.

aeonik 6 hours ago

I know that's the goal, but I was doing deeper reading and didn't understand the nuances here. It felt deprecated, and I remember reading that you should prefer FFM.

That's one of the reasons I posted it. A lot of knowledgeable people here can chime in more details. And a sibling comment did!