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

Phil Race prr at openjdk.java.net
Sat Dec 12 18:55:13 UTC 2020


> 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 two additional commits since the last revision:

 - 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:
  - all: https://git.openjdk.java.net/jdk/pull/1679/files
  - new: https://git.openjdk.java.net/jdk/pull/1679/files/839f8b71..2ccaa757

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=1679&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=1679&range=01-02

  Stats: 515 lines in 8 files changed: 311 ins; 66 del; 138 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


More information about the awt-dev mailing list