cgivre commented on code in PR #2987: URL: https://github.com/apache/drill/pull/2987#discussion_r2077609088
########## exec/java-exec/src/main/java/org/apache/drill/exec/compile/ClassTransformer.java: ########## @@ -307,26 +288,38 @@ public Class<?> getImplementationClass( s = s.replace(DrillFileUtils.SEPARATOR_CHAR, '.'); names.add(nextSet.getChild(s)); } - classLoader.injectByteCode(nextGenerated.dot, result.bytes); + + // Only inject bytecode if not already injected + if (!injectedClassNames.contains(nextGenerated.dot)) { Review Comment: I'm not sure honestly. It seemed to break when I switched the Java version to 11 in the test suite. -- 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: dev-unsubscr...@drill.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org