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

Phil Race prr at openjdk.java.net
Thu Dec 10 20:58:56 UTC 2020


On Thu, 10 Dec 2020 08:56:43 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> 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?

No. Not really. We should not keep the JNF namespace. Nor is there any desitre to have that 1:1 mapping.
This is NOT a "copy of JNF". It is a conscious attempt to be rid of it and all the unecessary baggage.
So I am not interested in that approach even one little bit

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

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


More information about the awt-dev mailing list