SOLR-14598: Granting reflection access for using annotations in SOLR-14404

This commit is contained in:
Ishan Chattopadhyaya 2020-06-27 15:59:49 +05:30
parent b7f8baab05
commit e6ffa8e9e2
1 changed files with 3 additions and 0 deletions

View File

@ -167,6 +167,9 @@ grant {
// used by solr to create sandboxes (e.g. script execution)
permission java.security.SecurityPermission "createAccessControlContext";
// Needed for annotations for V2 APIs.
permission java.lang.RuntimePermission "accessClassInPackage.jdk.internal.reflect";
};
// additional permissions based on system properties set by /bin/solr