changeset 9570:f70bbaa69ef3

8035171: KSS: sun.awt.shell.Win32ShellFolderManager2 Reviewed-by: alexsch, serb
author malenkov
date Thu, 17 Apr 2014 17:00:46 +0400
parents 42051b636588
children ebecdb0caf04
files src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java
diffstat 1 files changed, 1 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- a/src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java	Thu Apr 17 18:28:47 2014 +0900
+++ b/src/windows/classes/sun/awt/shell/Win32ShellFolderManager2.java	Thu Apr 17 17:00:46 2014 +0400
@@ -54,13 +54,7 @@
 
     static {
         // Load library here
-        AccessController.doPrivileged(
-            new java.security.PrivilegedAction<Void>() {
-                public Void run() {
-                    System.loadLibrary("awt");
-                    return null;
-                }
-            });
+        sun.awt.windows.WToolkit.loadLibraries();
     }
 
     public ShellFolder createShellFolder(File file) throws FileNotFoundException {