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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]