github classgraph/classgraph classgraph-4.4.3

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
5 years ago

Changes behavior to follow the reference graph upwards through superclass, interface and annotation hierarchies, scanning classes even beyond whitelist package boundaries, to enable subclasses, implementing classes, and annotated classes to be found even when the superclass, interface or annotation is not in the whitelisted package. (Fixes #261 -- thanks to @pshirlov for reporting.)

This fix has been needed for a long time. The fix may result in a small performance penalty, primarily for directory-based classpath elements (and less so for jar or module based classpath elements), but the vast majority of users will not notice a performance impact, and the new behavior is less likely to result in surprises where classes are not found when they were expected to be found.

Note that system classes and packages are still not scanned by default.

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.