github classgraph/classgraph classgraph-4.8.19

latest releases: classgraph-4.8.172, classgraph-4.8.171, classgraph-4.8.170...
5 years ago
  • Fixed an issue in the shutdown hook that could cause a NoClassDefFoundError during JVM shutdown if ScanResult#close() was not called by the user before shutdown, and the classloader's shutdown hook was called before ClassGraph's shutdown hook, which prevented further classloading (#331, thanks to @gitmotte for the report, and for providing a full testcase project).
  • Added support for the Plexus ClassWorlds ClassRealm classloader.
  • Made it possible to specifically scan rt.jar by calling new ClassGraph().overrideClasspath(rtJarPath) (thanks to @jechlin for requesting).
  • In ClassGraphClassLoader, call findLoadedClass() at beginning of findClass(), so that cached classes are returned more quickly.
  • Refactored and cleaned up ClassLoaderHandler code, and code that finds the classloader delegation order.

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.