Remove suppressAccessChecks permission for Groovy script plugin

Closes #16527
This commit is contained in:
Yannick Welsch 2016-02-27 18:58:00 +01:00
parent 2d2197ed2e
commit ab4e671bfd
1 changed files with 0 additions and 1 deletions

View File

@ -25,7 +25,6 @@ grant {
// needed by groovy engine // needed by groovy engine
permission java.lang.RuntimePermission "accessDeclaredMembers"; permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect"; permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
// needed by GroovyScriptEngineService to close its classloader (why?) // needed by GroovyScriptEngineService to close its classloader (why?)
permission java.lang.RuntimePermission "closeClassLoader"; permission java.lang.RuntimePermission "closeClassLoader";
// Allow executing groovy scripts with codesource of /untrusted // Allow executing groovy scripts with codesource of /untrusted