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/20 13:56:20 UTC
[GitHub] [beam] aromanenko-dev commented on a change in pull request #16275: [BEAM-13488] Work around bug in classpath detection
aromanenko-dev commented on a change in pull request #16275:
URL: https://github.com/apache/beam/pull/16275#discussion_r772383143
##########
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:
Could you add a quick comment about this workaround?
--
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