mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 03:58:21 +00:00
8372757: MacOS, Accessibility: Crash in [MenuAccessibility accessibilityChildren] after JDK-8341311
Reviewed-by: azvegint, psadhukhan
This commit is contained in:
parent
db2cd1a4e0
commit
019df4d89c
@ -68,6 +68,11 @@ static jclass sjc_CAccessibility = NULL;
|
||||
sjm_getCurrentAccessiblePopupMenu,
|
||||
fAccessible, fComponent);
|
||||
|
||||
CHECK_EXCEPTION();
|
||||
if (axComponent == nil) {
|
||||
return nil;
|
||||
}
|
||||
|
||||
CommonComponentAccessibility *currentElement = [CommonComponentAccessibility createWithAccessible:axComponent
|
||||
withEnv:env withView:self->fView isCurrent:YES];
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user