On Tue, 12 Jan 2021 06:08:10 GMT, Alexander Zuev <kiz...@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