On Mon, 14 Dec 2020 21:31:15 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. > > Phil Race has updated the pull request incrementally with one additional > commit since the last revision: > > 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D > code src/java.desktop/macosx/native/libawt_lwawt/awt/JavaComponentAccessibility.m line 338: > 336: } > 337: > 338: sAccessibilityClass = (*env)->CallStaticObjectMethod(env, > sjc_CAccessibility, jm_getAccessibility, result); // AWT_THREADING Safe > (known object) Do we need `CHECK_EXCEPTION();` after `CallStaticObjectMethod ` here? ------------- PR: https://git.openjdk.java.net/jdk/pull/1679