7172770: Default Toolkit implementation return null value for property "awt.dynamicLayoutSupported"
Reviewed-by: anthony, art
--- 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);