diff src/java.base/share/lib/security/default.policy @ 47279:b3a91921bafc

8159526: Deprivilege jdk.httpserver Reviewed-by: chegar, alanb, michaelm, mchung
author vtewari
date Tue, 26 Sep 2017 15:08:56 +0530
parents 71c04702a3d5
children bb0c5c1a2785
line wrap: on
line diff
--- a/src/java.base/share/lib/security/default.policy	Tue Sep 26 10:20:35 2017 +0100
+++ b/src/java.base/share/lib/security/default.policy	Tue Sep 26 15:08:56 2017 +0530
@@ -142,6 +142,10 @@
     permission java.security.AllPermission;
 };
 
+grant codeBase "jrt:/jdk.httpserver" {
+    permission java.security.AllPermission;
+};
+
 grant codeBase "jrt:/jdk.internal.le" {
     permission java.security.AllPermission;
 };