cryptoe commented on code in PR #17569:
URL: https://github.com/apache/druid/pull/17569#discussion_r1886314978


##########
services/src/main/java/org/apache/druid/cli/CliHadoopIndexer.java:
##########
@@ -84,9 +86,13 @@ public void run()
         extensionURLs.addAll(Arrays.asList(extensionLoader.getURLs()));
       }
 
-      final List<URL> nonHadoopURLs = Arrays.asList(
-          ((URLClassLoader) CliHadoopIndexer.class.getClassLoader()).getURLs()
-      );
+      final List<URL> nonHadoopURLs;
+      final ClassLoader indexerLoader = 
CliHadoopIndexer.class.getClassLoader();

Review Comment:
   We have removed java 8 support. So we donot need to support JDK 8 and below. 
so the if on line 91 can be removed. 



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to