Merge pull request #16839 from ywelsch/fix/remove-groovy-suppressAccessChecks
Remove suppressAccessChecks permission for Groovy script plugin
This commit is contained in:
commit
e1b5ebb46c
|
@ -25,7 +25,6 @@ grant {
|
|||
// needed by groovy engine
|
||||
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
||||
permission java.lang.RuntimePermission "accessClassInPackage.sun.reflect";
|
||||
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
|
||||
// needed by GroovyScriptEngineService to close its classloader (why?)
|
||||
permission java.lang.RuntimePermission "closeClassLoader";
|
||||
// Allow executing groovy scripts with codesource of /untrusted
|
||||
|
|
Loading…
Reference in New Issue