changeset 14373:59248872ead8

8154190: Deprivilege java.compiler module Reviewed-by: alanb, chegar, jjg
author mchung
date Thu, 05 May 2016 16:36:06 -0700
parents ed8ca9167d66
children 2d42c4cfd5ac
files src/java.base/share/conf/security/java.policy
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.base/share/conf/security/java.policy	Thu May 05 13:57:47 2016 -0700
+++ b/src/java.base/share/conf/security/java.policy	Thu May 05 16:36:06 2016 -0700
@@ -8,6 +8,10 @@
         permission java.security.AllPermission;
 };
 
+grant codeBase "jrt:/java.compiler" {
+        permission java.security.AllPermission;
+};
+
 grant codeBase "jrt:/jdk.crypto.ucrypto" {
         permission java.lang.RuntimePermission "accessClassInPackage.sun.security.*";
         permission java.lang.RuntimePermission "accessClassInPackage.sun.nio.ch";