--- a/jdk/src/share/classes/sun/awt/shell/ShellFolder.java Fri Mar 21 20:31:14 2014 +0400
+++ b/jdk/src/share/classes/sun/awt/shell/ShellFolder.java Fri Mar 21 21:40:52 2014 +0400
@@ -33,6 +33,8 @@
import java.util.*;
import java.util.concurrent.Callable;
+import sun.reflect.misc.ReflectUtil;
+
/**
* @author Michael Martak
* @since 1.4
@@ -208,10 +210,11 @@
getDesktopProperty("Shell.shellFolderManager");
Class managerClass = null;
try {
- managerClass = Class.forName(managerClassName);
+ managerClass = ReflectUtil.forName(managerClassName);
// swallow the exceptions below and use default shell folder
} catch(ClassNotFoundException e) {
} catch(NullPointerException e) {
+ } catch(SecurityException e) {
}
if (managerClass == null) {