changeset 16031:36cf65a9e2f9

8168862: Tighten permissions granted to the jdk.zipfs module Reviewed-by: mullan, mchung, lancea, bpb
author sherman
date Tue, 08 Nov 2016 14:29:14 -0800
parents a641b410ee9b
children 9bb8dc7e972d
files src/java.base/share/lib/security/default.policy
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/lib/security/default.policy	Tue Nov 08 12:36:21 2016 -0800
+++ b/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";
 };