On Mon, 13 Dec 2021 16:50:00 GMT, Anton Tarasov <[email protected]> wrote:

> … VoiceOver on macOS

src/java.desktop/macosx/native/libawt_lwawt/awt/a11y/TabButtonAccessibility.m 
line 62:

> 60: {
> 61:     if (fTabGroupAxContext == NULL) {
> 62:         id parent = [self parent];

Probably we can sanitize all casts to (CommonComponentAccessibility *) via some 
utility method which will check the type and then cast, so all calling code 
will get a CommonComponentAccessibility or nil?

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

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

Reply via email to