[ 
https://issues.apache.org/jira/browse/DRILL-8523?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17949995#comment-17949995
 ] 

ASF GitHub Bot commented on DRILL-8523:
---------------------------------------

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.  





> Remove Support for Java 8
> -------------------------
>
>                 Key: DRILL-8523
>                 URL: https://issues.apache.org/jira/browse/DRILL-8523
>             Project: Apache Drill
>          Issue Type: Task
>    Affects Versions: 1.21.2
>            Reporter: Charles Givre
>            Assignee: Charles Givre
>            Priority: Major
>             Fix For: 1.22.0
>
>
> This PR removes CI actions for Hadoop 2 and Java 8.  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to