mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-22 11:28:11 +00:00
6816582: WindowsFileChooserUI throws NullPointer when awt.useSystemAAFontSettings=false
Reviewed-by: uta
This commit is contained in:
parent
d6aaa2692f
commit
e5836e6721
@ -1831,7 +1831,11 @@ public abstract class Toolkit {
|
||||
desktopProperties.put(name, newValue);
|
||||
}
|
||||
|
||||
desktopPropsSupport.firePropertyChange(name, oldValue, newValue);
|
||||
// Don't fire change event if old and new values are null.
|
||||
// It helps to avoid recursive resending of WM_THEMECHANGED
|
||||
if (oldValue != null || newValue != null) {
|
||||
desktopPropsSupport.firePropertyChange(name, oldValue, newValue);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user