-
Bug
-
Resolution: Duplicate
-
P3
-
7
-
generic
-
windows_xp
I tried to run attached program Main.java with setted security manager (-Djava.security.manager -Djava.security.policy=perm.policy). Shortly this programm only creates FileChooser: new JFileChooser("c:\\temp\\").
JDK 7 throws exception
Exception in thread "main" java.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\pp208049\Recent read).
At the same time JDK 6 creates FileChooser without any problems.
JDK 7 throws exception
Exception in thread "main" java.security.AccessControlException: access denied (java.io.FilePermission C:\Documents and Settings\pp208049\Recent read).
At the same time JDK 6 creates FileChooser without any problems.
- duplicates
-
JDK-6738668 JFileChooser cannot be created under SecurityManager
-
- Closed
-