Skip to content

Commit b9db08c

Browse files
committed
Remove printlns
1 parent 513e475 commit b9db08c

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

libs/entitlement/src/main/java/org/elasticsearch/entitlement/initialization/DynamicInstrumentation.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,7 @@ static void initialize(Instrumentation inst, Class<?> checkerInterface, boolean
111111
transformer.enableClassVerification();
112112

113113
for (var classToRetransform : classesToRetransform) {
114-
try {
115-
inst.retransformClasses(classToRetransform);
116-
} catch (VerifyError e2) {
117-
System.err.println("VerifyError while retransforming " + classToRetransform);
118-
throw e2;
119-
}
114+
inst.retransformClasses(classToRetransform);
120115
}
121116

122117
// We should have failed already in the loop above, but just in case we did not, rethrow.

libs/entitlement/src/main/java/org/elasticsearch/entitlement/runtime/policy/PolicyManager.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -294,9 +294,6 @@ private static Logger getLogger(String componentName, String moduleName) {
294294
private static final ConcurrentHashMap<String, Logger> MODULE_LOGGERS = new ConcurrentHashMap<>();
295295

296296
protected ModuleEntitlements getEntitlements(Class<?> requestingClass) {
297-
if ("io.netty.channel.socket.nio.NioSocketChannel".equals(requestingClass.getName())) {
298-
System.err.println("PATDOYLE here we go");
299-
}
300297
return moduleEntitlementsMap.computeIfAbsent(requestingClass.getModule(), m -> computeEntitlements(requestingClass));
301298
}
302299

0 commit comments

Comments
 (0)