提交 0e86f803 编写于 作者: D dcherepanov

6857870: Regression tests are failing with ExceptionInInitializerError

Reviewed-by: art
上级 219197f4
...@@ -886,14 +886,12 @@ public class WToolkit extends SunToolkit implements Runnable { ...@@ -886,14 +886,12 @@ public class WToolkit extends SunToolkit implements Runnable {
* this should be done in lazilyLoadDesktopProperty() only. * this should be done in lazilyLoadDesktopProperty() only.
*/ */
protected synchronized void initializeDesktopProperties() { protected synchronized void initializeDesktopProperties() {
desktopProperties.put("DnD.Autoscroll.initialDelay", Integer.valueOf(50)); desktopProperties.put("DnD.Autoscroll.initialDelay",
desktopProperties.put("DnD.Autoscroll.interval", Integer.valueOf(50)); Integer.valueOf(50));
desktopProperties.put("DnD.Autoscroll.interval",
try { Integer.valueOf(50));
desktopProperties.put("Shell.shellFolderManager", desktopProperties.put("Shell.shellFolderManager",
Class.forName("sun.awt.shell.Win32ShellFolderManager2")); "sun.awt.shell.Win32ShellFolderManager2");
} catch (ClassNotFoundException ex) {
}
} }
/* /*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册