src/java.desktop/macosx/classes/sun/lwawt/macosx/CAccessibility.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2011, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 628,638 ****
if (!ac.getAccessibleSelection().isAccessibleChildSelected(i)) continue;
}
if (!allowIgnored) {
final AccessibleRole role = context.getAccessibleRole();
! if (role != null && ignoredRoles.contains(roleKey(role))) {
// Get the child's unignored children.
_addChildren(child, whichChildren, false, childrenAndRoles);
} else {
childrenAndRoles.add(child);
childrenAndRoles.add(getAccessibleRole(child));
--- 628,638 ----
if (!ac.getAccessibleSelection().isAccessibleChildSelected(i)) continue;
}
if (!allowIgnored) {
final AccessibleRole role = context.getAccessibleRole();
! if (role != null && ignoredRoles != null && ignoredRoles.contains(roleKey(role))) {
// Get the child's unignored children.
_addChildren(child, whichChildren, false, childrenAndRoles);
} else {
childrenAndRoles.add(child);
childrenAndRoles.add(getAccessibleRole(child));