Skip to content

Commit ba15751

Browse files
committed
Comment in TestScopeResolver
1 parent f0d0fc4 commit ba15751

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/framework/src/main/java/org/elasticsearch/bootstrap/TestScopeResolver.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ PolicyManager.PolicyScope getScope(Class<?> callerClass) {
3636
var location = callerCodeSource.getLocation().toString();
3737
var scope = scopeMap.get(location);
3838
if (scope == null) {
39+
// Special cases for libraries not handled by our automatically-generated scopeMap
3940
if (callerClass.getPackageName().startsWith("org.bouncycastle")) {
4041
scope = new PolicyManager.PolicyScope(PLUGIN, "security", ALL_UNNAMED);
4142
logger.debug("Assuming bouncycastle is part of the security plugin");

0 commit comments

Comments
 (0)