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

Alexander Zuev kizune at openjdk.java.net
Mon Dec 14 11:48:56 UTC 2020


On Sat, 12 Dec 2020 22:28:52 GMT, Phil Race <prr at openjdk.org> wrote:

>> I updated this fix with the additional changes for the accessibility files.
>> There's a little bit of clean up as some declarations were unused and also these files shared a single defintion of some classes across files which were mostly unncecessary. One class I made static and declared per-file which is cleaner,
>> Also the only A11Y reference in AWTView was moved into its only call site.
>> With these changes I think the desktop module is now 100% free of the JNFCall* pattern and the *CACHE* pattern
>> I re-ran our full automated headful jtreg test suite and everything passed. I also ran VoiceOver and ran through SwingSet2 without seeing any issues although I am not sure what to expect for this so it would be best if @azuev-java checked it out.
>
> Updated with some fixes for the A11Y support.
> Adding some logging that will report any problems looking up a JNI method or field or class.

I have tested the a11y part and haven't found any functional degradation there.

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

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


More information about the awt-dev mailing list