--- old/src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java Wed Apr 25 15:22:02 2012 +++ new/src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java Wed Apr 25 15:22:01 2012 @@ -37,8 +37,6 @@ import java.util.List; import java.util.concurrent.*; -import sun.security.action.LoadLibraryAction; - import static sun.awt.shell.Win32ShellFolder2.*; import sun.awt.OSInfo; @@ -56,7 +54,13 @@ static { // Load library here - AccessController.doPrivileged(new LoadLibraryAction("awt")); + AccessController.doPrivileged( + new java.security.PrivilegedAction() { + public Void run() { + System.loadLibrary("awt"); + return null; + } + }); } public ShellFolder createShellFolder(File file) throws FileNotFoundException {