7172770: Default Toolkit implementation return null value for property "awt.dynamicLayoutSupported"
authorserb
Fri, 25 Oct 2013 19:51:54 +0400
changeset 21275 38d2199adb1a
parent 21274 238365b3e98a
child 21276 f1438e2ce393
7172770: Default Toolkit implementation return null value for property "awt.dynamicLayoutSupported" Reviewed-by: anthony, art
jdk/src/share/classes/java/awt/Toolkit.java
--- a/jdk/src/share/classes/java/awt/Toolkit.java	Fri Oct 25 16:42:02 2013 +0400
+++ b/jdk/src/share/classes/java/awt/Toolkit.java	Fri Oct 25 19:51:54 2013 +0400
@@ -1809,8 +1809,7 @@
 
         // This property should never be cached
         if (propertyName.equals("awt.dynamicLayoutSupported")) {
-            value = lazilyLoadDesktopProperty(propertyName);
-            return value;
+            return getDefaultToolkit().lazilyLoadDesktopProperty(propertyName);
         }
 
         value = desktopProperties.get(propertyName);