Java security manager example: Increase compatibility with OpenJDK 7 javac
This commit is contained in:
parent
876a1bcbd0
commit
aa79dc5015
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ public class JavaSecurityManagerUnprivileged {
|
|||
//-
|
||||
}
|
||||
|
||||
private static void withGrant(String path) throws Exception {
|
||||
private static void withGrant(final String path) throws Exception {
|
||||
Permissions permissions = new Permissions();
|
||||
//+ Java SecurityManager-CurrentDirectory
|
||||
permissions.add(new FilePermission(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue