8175915: NullPointerException from JComboBox and JList when Accessibility enabled

Reviewed-by: serb, prr
This commit is contained in:
Mikhail Cherkasov 2017-05-15 15:32:14 +03:00
parent 8ec46c5612
commit 1df6a97a4d

View File

@ -702,7 +702,7 @@ final public class AccessBridge {
}
if (false == bExtendedSearch) {
debugString ("bk -- getVirtualAccessibleNameFromContext will not use the extended name search algorithm. role = " + role.toDisplayString (Locale.US) );
debugString ("bk -- getVirtualAccessibleNameFromContext will not use the extended name search algorithm. role = " + ( role != null ? role.toDisplayString(Locale.US) : "null") );
/*
Step 3:
=======