From 6855fda98717039120c09c47fad34129dae79c3e Mon Sep 17 00:00:00 2001 From: Mark Vieira Date: Fri, 4 Mar 2022 15:00:43 -0800 Subject: [PATCH] Update intellij security policy for later versions of IDEA (#84681) (#84685) --- .../resources/org/elasticsearch/bootstrap/intellij.policy | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy b/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy index 42448c51ec68d..d3cc4479cf6ab 100644 --- a/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy +++ b/server/src/main/resources/org/elasticsearch/bootstrap/intellij.policy @@ -3,4 +3,7 @@ grant codeBase "${codebase.junit-rt.jar}" { permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; }; - +grant codeBase "${codebase.idea_rt.jar}" { + // allows IntelliJ IDEA JUnit test runner to control number of test iterations + permission java.lang.reflect.ReflectPermission "suppressAccessChecks"; +};