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

Sergey Bylokhov serb at openjdk.java.net
Thu Jan 14 00:21:05 UTC 2021


On Tue, 12 Jan 2021 06:08:10 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:
> 
>   Replaced #include with #import for consistency

src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/CommonComponentAccessibility.m line 61:

> 59: {
> 60:     if (rolesMap == nil) {
> 61:         [self initializeRolesMap];

Is it possible that this will be called on the different threads? Or it is always appkit(probably AWT_ASSERT_APPKIT_THREAD could be useful)?

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

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


More information about the awt-dev mailing list