changeset 8562:dab1d3798016

7172770: Default Toolkit implementation return null value for property "awt.dynamicLayoutSupported" Reviewed-by: anthony, art
author serb
date Fri, 25 Oct 2013 19:51:54 +0400
parents 75ae2a980db5
children 162c57b874d4
files src/share/classes/java/awt/Toolkit.java
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/awt/Toolkit.java	Fri Oct 25 16:42:02 2013 +0400
+++ b/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);