<AWT Dev> RFR: 8257853: Remove dependencies on JNF's JNI utility functions in AWT and 2D code [v7]

Sergey Bylokhov serb at openjdk.java.net
Fri Dec 18 21:36:57 UTC 2020


On Fri, 18 Dec 2020 19:24:15 GMT, Phil Race <prr at 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

We should take care of native exceptions, and probably use more objective-c than the macro.

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

Changes requested by serb (Reviewer).

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


More information about the awt-dev mailing list