You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/12/30 00:39:29 UTC

[GitHub] [beam] tvalentyn commented on a change in pull request #16275: [BEAM-13488] Work around bug in classpath detection

tvalentyn commented on a change in pull request #16275:
URL: https://github.com/apache/beam/pull/16275#discussion_r776533959



##########
File path: runners/core-construction-java/src/main/java/org/apache/beam/runners/core/construction/resources/ClasspathScanningResourcesDetector.java
##########
@@ -45,7 +45,11 @@ public ClasspathScanningResourcesDetector(ClassGraph classGraph) {
   @Override
   public List<String> detect(ClassLoader classLoader) {
     List<File> classpathContents =
-        classGraph.disableNestedJarScanning().addClassLoader(classLoader).getClasspathFiles();
+        classGraph
+            .disableNestedJarScanning()
+            .addClassLoader(classLoader)
+            .scan(1)

Review comment:
       @steveniemitz Please follow up with a separate PR if this is not addressed.




-- 
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: github-unsubscribe@beam.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org