<AWT Dev> RFR: 8256109: Create implementation for NSAccessibilityButton protocol [v2]

Sergey Bylokhov serb at openjdk.java.net
Fri Dec 18 00:28:57 UTC 2020


On Wed, 16 Dec 2020 17:59:02 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> src/java.desktop/macosx/native/libawt_lwawt/awt/JavaComponentAccessibility.m line 1990:
>> 
>>> 1988: 
>>> 1989:     JNIEnv* env = [ThreadUtilities getJNIEnv];
>>> 1990:     JNFCallStaticVoidMethod(env, jm_doAccessibleAction, [self axContextWithEnv:(env)], 0, fComponent);
>> 
>> Are you sure that the `jm_doAccessibleAction` is always initialized here?
>
> Yes.

I guess it is became broken when the perform() will be removed. Can this method use its own variable?

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

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


More information about the awt-dev mailing list