You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by is...@apache.org on 2020/06/27 10:30:51 UTC
[lucene-solr] branch branch_8x updated: SOLR-14598: Granting
reflection access for using annotations in SOLR-14404
This is an automated email from the ASF dual-hosted git repository.
ishan pushed a commit to branch branch_8x
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
The following commit(s) were added to refs/heads/branch_8x by this push:
new eaddd37 SOLR-14598: Granting reflection access for using annotations in SOLR-14404
eaddd37 is described below
commit eaddd374f1a632eddbc60380f2ca6cb2c272b680
Author: Ishan Chattopadhyaya <is...@apache.org>
AuthorDate: Sat Jun 27 15:59:49 2020 +0530
SOLR-14598: Granting reflection access for using annotations in SOLR-14404
---
solr/server/etc/security.policy | 3 +++
1 file changed, 3 insertions(+)
diff --git a/solr/server/etc/security.policy b/solr/server/etc/security.policy
index bcf82b9..aa56a31 100644
--- a/solr/server/etc/security.policy
+++ b/solr/server/etc/security.policy
@@ -164,6 +164,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