6859935: REGRESSION: Settings are missing in JCP/Advanced tab on windows
authordcherepanov
Wed, 22 Jul 2009 13:00:11 +0400
changeset 3335 891866221955
parent 3334 8d5a10c419a4
child 3336 16117c295e3f
6859935: REGRESSION: Settings are missing in JCP/Advanced tab on windows Reviewed-by: art
jdk/src/windows/classes/sun/awt/windows/WToolkit.java
--- a/jdk/src/windows/classes/sun/awt/windows/WToolkit.java	Fri Jul 17 15:40:19 2009 +0400
+++ b/jdk/src/windows/classes/sun/awt/windows/WToolkit.java	Wed Jul 22 13:00:11 2009 +0400
@@ -886,14 +886,12 @@
      * this should be done in lazilyLoadDesktopProperty() only.
      */
     protected synchronized void initializeDesktopProperties() {
-        desktopProperties.put("DnD.Autoscroll.initialDelay",     Integer.valueOf(50));
-        desktopProperties.put("DnD.Autoscroll.interval",         Integer.valueOf(50));
-
-        try {
-            desktopProperties.put("Shell.shellFolderManager",
-                                  Class.forName("sun.awt.shell.Win32ShellFolderManager2"));
-        } catch (ClassNotFoundException ex) {
-        }
+        desktopProperties.put("DnD.Autoscroll.initialDelay",
+                              Integer.valueOf(50));
+        desktopProperties.put("DnD.Autoscroll.interval",
+                              Integer.valueOf(50));
+        desktopProperties.put("Shell.shellFolderManager",
+                              "sun.awt.shell.Win32ShellFolderManager2");
     }
 
     /*