Skip to content

Commit c705bd4

Browse files
eduardsdvkevinrushforth
authored andcommitted
8203463: [Accessibility, Narrator] NPE in TableView
Reviewed-by: kcr
1 parent 303bcdb commit c705bd4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules/javafx.graphics/src/main/java/com/sun/glass/ui/win/WinAccessible.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ private void changeSelection(boolean add, boolean clear) {
565565
private long GetPatternProvider(int patternId) {
566566
if (isDisposed()) return 0;
567567
AccessibleRole role = (AccessibleRole)getAttribute(ROLE);
568+
if (role == null) return 0;
568569
boolean impl = false;
569570
switch (role) {
570571
case MENU:

0 commit comments

Comments
 (0)