<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
Mon Dec 14 21:31:16 UTC 2020


On Mon, 14 Dec 2020 08:52:02 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> 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
>
> src/java.desktop/macosx/native/libawt_lwawt/awt/AWTView.m line 598:
> 
>> 596:         return NULL;
>> 597:     }
>> 598:     jobject comp = (*env)->GetObjectField(env, peer, jf_Target);
> 
> Do we really need to delete this method? It is used only once but it is quite useful for debugging purposes when one needs to check what view is assigned to an accessible component.

I am fine with reverting this. Uploading now.

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

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


More information about the awt-dev mailing list