classgraph / classgraph

An uber-fast parallelized Java classpath scanner and module scanner.
MIT License
2.78k stars 289 forks source link

Exploded jars are not loaded anymore thanks to the JBossClassLoaderHandler #896

Open mboyer85 opened 2 weeks ago

mboyer85 commented 2 weeks ago

Hi, We use Swagger to document our apis which uses Classgraph as a dependency, there was a vulnerability into the 4.8.95 so we upgrade to the last 4.8.177. We can deploy our war exploded (dev) or not (prod) into Wildfly 30.0.0.FINAL When the war is exploded, exploded jars are not scanned (loaded) When the war is not exploded, all works fine.

Best regards.

lukehutch commented 2 weeks ago

Can you please do a git bisect to figure out where this broke?

mboyer85 commented 2 weeks ago

This issue appears since 4.8.174

lukehutch commented 2 weeks ago

OK. My time to work on ClassGraph is very limited, so I will need your help to debug this.

Please enable verbose logging in ClassGraph, and compare logs before and after the breaking change. Then see if you can figure out what broke in that version.