ChrisHegarty commented on PR #13146:
URL: https://github.com/apache/lucene/pull/13146#issuecomment-1976960864
Adding explicit grants to the above 3 identified codebases
(randomizedtesting-runner, junit, and lucene-test-framework), allows the test
count to work (for me), e.g. (quickly hacked with hardcoded paths)
```
grant codeBase
"file:/Users/chegar/.gradle/caches/modules-2/files-2.1/com.carrotsearch.randomizedtesting/randomizedtesting-runner/2.8.1/55ffe691e90d31ab916746516654b5701e532d6f/randomizedtesting-runner-2.8.1.jar"
{
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
grant codeBase
"file:/Users/chegar/.gradle/caches/modules-2/files-2.1/junit/junit/4.13.1/cdd00374f1fee76b11e2a9d127405aa3f6be5b6a/junit-4.13.1.jar"
{
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
grant codeBase
"file:/Users/chegar/git/tmp/lucene/lucene/test-framework/build/libs/lucene-test-framework-10.0.0-SNAPSHOT.jar"
{
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
};
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]