RFR: 8264293: Create implementation for NSAccessibilityMenu protocol peer

Artem Semenov asemenov at openjdk.java.net
Wed Nov 17 09:55:36 UTC 2021


On Tue, 16 Nov 2021 23:53:53 GMT, Alexander Zuev <kizune at openjdk.org> wrote:

> Added implementation for all menu related protocol peers;
> Native methods moved to CommonComponentAccessibility so they are called on correct peers;

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

> 153:     [rolesMap setObject:@"OutlineAccessibility" forKey:@"tree"];
> 154:     [rolesMap setObject:@"TableAccessibility" forKey:@"table"];
> 155:     [rolesMap setObject:@"MenuBarAccessibility" forKey:@"menubar"];

Please increase the capacity of the rolesMap dictionary if you add a new role.

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

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



More information about the client-libs-dev mailing list