8167957: Remove FilePermission from default policy for jdk.charsets module
authorsherman
Thu, 13 Oct 2016 17:47:30 -0700
changeset 41491 854cef16b9fc
parent 41490 4017fcfaf2e3
child 41492 07554e9682b7
child 41789 a237131eb204
8167957: Remove FilePermission from default policy for jdk.charsets module Reviewed-by: mchung
jdk/src/java.base/share/lib/security/default.policy
--- a/jdk/src/java.base/share/lib/security/default.policy	Thu Oct 13 23:02:35 2016 +0000
+++ b/jdk/src/java.base/share/lib/security/default.policy	Thu Oct 13 17:47:30 2016 -0700
@@ -91,7 +91,6 @@
 };
 
 grant codeBase "jrt:/jdk.charsets" {
-    permission java.io.FilePermission "${java.home}/-", "read";
     permission java.util.PropertyPermission "os.name", "read";
     permission java.util.PropertyPermission "sun.nio.cs.map", "read";
     permission java.lang.RuntimePermission "charsetProvider";