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.
------------- Commit messages: - 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D code - 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D code - 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D code Changes: https://git.openjdk.java.net/jdk/pull/1679/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1679&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8257853 Stats: 998 lines in 30 files changed: 517 ins; 75 del; 406 mod Patch: https://git.openjdk.java.net/jdk/pull/1679.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/1679/head:pull/1679 PR: https://git.openjdk.java.net/jdk/pull/1679