On Mon, 7 Dec 2020 21:24:57 GMT, Phil Race <p...@openjdk.org> wrote:

> This defines some macros to support declaring and initialising statically 
> allocated instances of jclass, jmethodID and jfieldID
> and changes many existing uses of JNF macros/functions to use these instead.
> Then calls to JNFCall* and JNFNewObject - etc are updated to directly call 
> JNI methods
> JNI exception checking macros are added as needed.

Wouldn't it have been nice to have a new file having same JNF macros so it will 
not result in changing any source code but just instead of mapping to apple 
provided JNF layer, we will map to our macro through JNF wrapper and 
link/unlink apple JNF lib based on version or so in makefile?

-------------

PR: https://git.openjdk.java.net/jdk/pull/1679

Reply via email to