8168862: Tighten permissions granted to the jdk.zipfs module
authorsherman
Tue, 08 Nov 2016 14:29:14 -0800
changeset 41959 3b3918911a15
parent 41958 ea78a8efc680
child 41960 916bb3d29d7b
8168862: Tighten permissions granted to the jdk.zipfs module Reviewed-by: mullan, mchung, lancea, bpb
jdk/src/java.base/share/lib/security/default.policy
--- a/jdk/src/java.base/share/lib/security/default.policy	Tue Nov 08 12:36:21 2016 -0800
+++ b/jdk/src/java.base/share/lib/security/default.policy	Tue Nov 08 14:29:14 2016 -0800
@@ -181,6 +181,6 @@
 grant codeBase "jrt:/jdk.zipfs" {
     permission java.io.FilePermission "<<ALL FILES>>", "read,write,delete";
     permission java.lang.RuntimePermission "fileSystemProvider";
-    permission java.util.PropertyPermission "*", "read";
+    permission java.util.PropertyPermission "os.name", "read";
 };