RFR: 8274381 missing CAccessibility definitions in JNI code

Artem Semenov github.com+36081106+savoptik at openjdk.java.net
Tue Sep 28 09:18:52 UTC 2021


On Tue, 28 Sep 2021 08:45:22 GMT, Artem Semenov <github.com+36081106+savoptik at openjdk.org> wrote:

> accessibilityHitTest in JavaComponentAccessibility and getAxComponentSize in JavaAccessibilityUtilities use but do not define sjc_CAccessibility. It works when sjc_CAccessibility is defined by other methods, otherwise it crashes.

By agreement with Alexander Zuev, we do not touch JavaComponentAccessibility.
Отправлено с Mac



> 28 сент. 2021 г., в 12:07, Pankaj Bansal ***@***.***> написал(а):
> 
> 
> Could you please look at #5702 <https://github.com/openjdk/jdk/pull/5702>. I see that Phil just fixed similar thing in JavaComponentAccessibility.m. Looks like we have same/similar function present in two classes doing exactly the same thing. Is it possible we can get rid of one of these two?
> 
> JavaComponentAccessibility.m has
> 
> (id)accessibilityHitTest:(NSPoint)point withEnv:(JNIEnv *)env
> CommonComponentAccessibility.m has
> 
> (id)accessibilityHitTest:(NSPoint)point
>> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub <https://github.com/openjdk/jdk/pull/5732#issuecomment-929001621>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AITI3UVFBXR2JEGNGXOI2TDUEGAWBANCNFSM5E43LJZA>.
>

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

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



More information about the client-libs-dev mailing list