From ab4e671bfd765f4f07d1211eaff0a78afec5ba2b Mon Sep 17 00:00:00 2001 From: Yannick Welsch Date: Sat, 27 Feb 2016 18:58:00 +0100 Subject: [PATCH] Remove suppressAccessChecks permission for Groovy script plugin Closes #16527 --- .../lang-groovy/src/main/plugin-metadata/plugin-security.policy | 1 - 1 file changed, 1 deletion(-) diff --git a/modules/lang-groovy/src/main/plugin-metadata/plugin-security.policy b/modules/lang-groovy/src/main/plugin-metadata/plugin-security.policy index ec749cad45b..a2318191540 100644 --- a/modules/lang-groovy/src/main/plugin-metadata/plugin-security.policy +++ b/modules/lang-groovy/src/main/plugin-metadata/plugin-security.policy @@ -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