Skip to content

Commit d331569

Browse files
committed
Trivially allow org.jcodings
1 parent fc660d4 commit d331569

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/framework/src/main/java/org/elasticsearch/entitlement/runtime/policy/TestPolicyManager.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ private boolean isTestCode(Class<?> requestingClass) {
149149
private static final String[] TEST_FRAMEWORK_PACKAGE_PREFIXES = {
150150
"org.gradle",
151151

152+
"org.jcodings", // A library loaded with SPI that tries to create a CharsetProvider
153+
152154
// We shouldn't really need the rest of these. They should be discovered on the testOnlyClasspath.
153155
"com.carrotsearch.randomizedtesting",
154156
"com.sun.tools.javac",

0 commit comments

Comments
 (0)