RFR: 8278612: test/jdk/java/awt/dnd/RemoveDropTargetCrashTest crashes with…
Sergey Bylokhov
serb at openjdk.java.net
Mon Dec 13 20:11:20 UTC 2021
On Mon, 13 Dec 2021 16:50:00 GMT, Anton Tarasov <ant at openjdk.org> 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
More information about the client-libs-dev
mailing list