6857870: Regression tests are failing with ExceptionInInitializerError jdk7-b66
authordcherepanov
Thu, 23 Jul 2009 11:30:49 +0400
changeset 1445bd31b30a5b21
parent 1444 f88379effbcf
child 1446 11a8f0936228
6857870: Regression tests are failing with ExceptionInInitializerError
Reviewed-by: art
src/windows/classes/sun/awt/windows/WToolkit.java
     1.1 --- a/src/windows/classes/sun/awt/windows/WToolkit.java	Tue Jul 21 23:23:57 2009 -0700
     1.2 +++ b/src/windows/classes/sun/awt/windows/WToolkit.java	Thu Jul 23 11:30:49 2009 +0400
     1.3 @@ -886,14 +886,12 @@
     1.4       * this should be done in lazilyLoadDesktopProperty() only.
     1.5       */
     1.6      protected synchronized void initializeDesktopProperties() {
     1.7 -        desktopProperties.put("DnD.Autoscroll.initialDelay",     Integer.valueOf(50));
     1.8 -        desktopProperties.put("DnD.Autoscroll.interval",         Integer.valueOf(50));
     1.9 -
    1.10 -        try {
    1.11 -            desktopProperties.put("Shell.shellFolderManager",
    1.12 -                                  Class.forName("sun.awt.shell.Win32ShellFolderManager2"));
    1.13 -        } catch (ClassNotFoundException ex) {
    1.14 -        }
    1.15 +        desktopProperties.put("DnD.Autoscroll.initialDelay",
    1.16 +                              Integer.valueOf(50));
    1.17 +        desktopProperties.put("DnD.Autoscroll.interval",
    1.18 +                              Integer.valueOf(50));
    1.19 +        desktopProperties.put("Shell.shellFolderManager",
    1.20 +                              "sun.awt.shell.Win32ShellFolderManager2");
    1.21      }
    1.22  
    1.23      /*