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

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

On Wed, 16 Dec 2020 18:03:19 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

>> Creating a native peer for pushbutton accessibility role on Max OS X.
>> The process of choosing of what peer to initialize is clunky so
>> might be addressed in the future.
> Alexander Zuev has updated the pull request incrementally with one additional commit since the last revision:
>   Moved the new components implementations to the separate files.
>   Changed the iitialization procedure to a class function with
>   dictionary of role to class name relation.
>   This pr is still intermittent since it uses the old style
>   JNF java call syntacsis. Once fix for JDK-8257853 is integrated
>   the calls needs to be converted to the new style but that is a minor
>   change.

src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/ButtonAccessibility.m line 26:

> 24:  */
> 25: 
> 26: #include "ButtonAccessibility.h"

I guess we should be consistent in the usage of import vs include.


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

More information about the awt-dev mailing list