zhztheplayer commented on code in PR #11043:
URL:
https://github.com/apache/incubator-gluten/pull/11043#discussion_r2505273186
##########
gluten-core/src/main/java/org/apache/gluten/utils/ResourceUtil.java:
##########
@@ -57,7 +57,7 @@ public static List<String> getResources(final String
container, final Pattern pa
final List<String> buffer = new ArrayList<>();
final Enumeration<URL> containerUrls;
try {
- containerUrls =
Thread.currentThread().getContextClassLoader().getResources(container);
+ containerUrls =
ResourceUtil.class.getClassLoader().getResources(container);
Review Comment:
👍
The change itself looks reasonable, and I didn't realize context class
loader could result in duplicated resources. Will find some time to debug on my
end.
--
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]