If you can implement it, go ahead, and send a patch.
I am interested in that feature too.
Could you provide use case ?
let's say I have package a.b.c and I put
two files in a/b/c if the jar.
what will getResources("a/b/c") return exactly ?
an enumeration of only the files ?
files + subpackages ?
I've posted the bug and the corresponding patch at sourceforge:
> what will getResources("a/b/c") return exactly ?
Finds all the resources with the given name
If you have resources with the same name in multiple jars,
getResources gives you all the urls to theses resources.
In my case, I have a marker file in each jar, let's call it "marker.properties".
With getResources("marker.properties") I'm supposed to get all of them, not only the first one as with getResource().
In current implementation, you find only the resources located in the same jar as the class that called getResources.
To reproduce the problem, just have JBoss load 2 jars, for exemple by adding those 2 jars in the classpath of a xxx-service.xml
a bug a patch and a test,