提交 283bc4d3 编写于 作者: D dcherepanov

6857870: Regression tests are failing with ExceptionInInitializerError

Reviewed-by: art
上级 61e10a00
......@@ -886,14 +886,12 @@ public class WToolkit extends SunToolkit implements Runnable {
* 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");
}
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册