On Mon, 13 Dec 2021 20:08:11 GMT, Sergey Bylokhov <[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?

@mrserb Thanks, I did that.  I had to re-submit PR for jdk18, please proceed in 
https://github.com/openjdk/jdk18/pull/65

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

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

Reply via email to