From 7bf75386d6a9ff185ac30bde155f781b66d61d60 Mon Sep 17 00:00:00 2001 From: Alan Woodward Date: Wed, 29 Sep 2021 09:13:20 +0100 Subject: [PATCH] Try removing accessDeclaredMembers permission --- .../main/resources/org/elasticsearch/bootstrap/security.policy | 2 -- 1 file changed, 2 deletions(-) diff --git a/server/src/main/resources/org/elasticsearch/bootstrap/security.policy b/server/src/main/resources/org/elasticsearch/bootstrap/security.policy index b7e02350c0d66..85f36cf300b35 100644 --- a/server/src/main/resources/org/elasticsearch/bootstrap/security.policy +++ b/server/src/main/resources/org/elasticsearch/bootstrap/security.policy @@ -22,8 +22,6 @@ grant codeBase "${codebase.elasticsearch-secure-sm}" { grant codeBase "${codebase.elasticsearch}" { // needed for loading plugins which may expect the context class loader to be set permission java.lang.RuntimePermission "setContextClassLoader"; - // needed for SPI class loading - permission java.lang.RuntimePermission "accessDeclaredMembers"; // needed by HotThreads to enable wait/block time accounting on demand permission java.lang.management.ManagementPermission "control"; };