[Secure Coding] master: Java security manager example: Increase compatibility with OpenJDK 7 javac (aa79dc5)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Repository : http://git.fedorahosted.org/git/?p=secure-coding.git

On branch  : master

>---------------------------------------------------------------

commit aa79dc501587d6cc38ae3661ea5bb9d271792eb8
Author: Florian Weimer <fweimer@xxxxxxxxxx>
Date:   Mon Aug 26 15:22:50 2013 +0200

    Java security manager example: Increase compatibility with OpenJDK 7 javac


>---------------------------------------------------------------

 .../src/JavaSecurityManagerUnprivileged.java       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/defensive-coding/src/JavaSecurityManagerUnprivileged.java b/defensive-coding/src/JavaSecurityManagerUnprivileged.java
index 61da297..ec0c2c7 100644
--- a/defensive-coding/src/JavaSecurityManagerUnprivileged.java
+++ b/defensive-coding/src/JavaSecurityManagerUnprivileged.java
@@ -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(

--
security mailing list
security@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/security





[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Coolkey]

  Powered by Linux