8159526: Deprivilege jdk.httpserver

Reviewed-by: chegar, alanb, michaelm, mchung
This commit is contained in:
Vyom Tewari 2017-09-26 15:08:56 +05:30
parent b98d0bda76
commit 02ba926da2
2 changed files with 5 additions and 1 deletions

View File

@ -58,7 +58,6 @@ BOOT_MODULES += \
java.rmi \
java.security.sasl \
java.xml \
jdk.httpserver \
jdk.internal.vm.ci \
jdk.management \
jdk.management.agent \
@ -112,6 +111,7 @@ PLATFORM_MODULES += \
jdk.crypto.cryptoki \
jdk.crypto.ec \
jdk.dynalink \
jdk.httpserver \
jdk.incubator.httpclient \
jdk.jsobject \
jdk.localedata \

View File

@ -142,6 +142,10 @@ grant codeBase "jrt:/jdk.dynalink" {
permission java.security.AllPermission;
};
grant codeBase "jrt:/jdk.httpserver" {
permission java.security.AllPermission;
};
grant codeBase "jrt:/jdk.internal.le" {
permission java.security.AllPermission;
};