8168862: Tighten permissions granted to the jdk.zipfs module
Reviewed-by: mullan, mchung, lancea, bpb
--- 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";
};