Skip to content

Releases: classgraph/classgraph

classgraph-4.8.184

10 Oct 09:33

Choose a tag to compare

classgraph-4.8.183

10 Oct 09:03

Choose a tag to compare

  • Fixed some build issues.

classgraph-4.8.182

10 Oct 09:02

Choose a tag to compare

  • Dropped support for JDK 7 (since JDK 7 is no longer supported by javac as of JDK 20).
  • Dropped support for JVM-Driver for overcoming strong encapsulation in problematic classloaders (Narcissus is still supported).
  • Fix broken module declaration (#923, #922, #911).

classgraph-4.8.181

16 Jul 03:22

Choose a tag to compare

Fixes:

  • #906 (classloader delegation order issue)
  • #896/#907 (JBoss/WildFly -- exploded jars not being found -- regression)

classgraph-4.8.180

23 Jun 19:45

Choose a tag to compare

Stops showing this warning on JDK 24+ (#899):

WARNING: A terminally deprecated method in sun.misc.Unsafe has been called
WARNING: sun.misc.Unsafe::invokeCleaner has been called by nonapi.io.github.classgraph.utils.FileUtils (file:/home/zakkak/.m2/repository/io/github/classgraph/classgraph/4.8.179/classgraph-4.8.179.jar)
WARNING: Please consider reporting this to the maintainers of class nonapi.io.github.classgraph.utils.FileUtils
WARNING: sun.misc.Unsafe::invokeCleaner will be removed in a future release

Downside: ClassGraph#enableMemoryMapping() is disabled for now on JDK 24+ (this was not enabled by default).

Memory mapping wasn't that much faster than the default of standard NIO file access, so this should not impact performance much, and the impact should be limited to a small number of users.

ClassGraph version 5 should support memory management again (but there is no timeline for when that will be released).

classgraph-4.8.179

12 Nov 06:41

Choose a tag to compare

Fixes URL generation on Windows (uses file:/// rather than file:/) -- #888. Thanks to @cowwoc for the fix, #889.

classgraph-4.8.178

12 Nov 06:29

Choose a tag to compare

Fixes classpath finding on Quarkus 3.16 (which changed how the classloader works, #891). Thanks to @michael-simons for the fix!

classgraph-4.8.177

02 Oct 02:39

Choose a tag to compare

Throw IllegalStateException rather than NPE if the user tries to access a resource after the ScanResult has been closed (#885, thanks to @sebthom for reporting).

classgraph-4.8.176

17 Sep 19:57

Choose a tag to compare

Add synchronized block around API methods that have side effects, to make them threadsafe (#883, thanks to @inphonetic).

classgraph-4.8.175

20 Aug 07:03

Choose a tag to compare

Merged two PRs from @freya022 (thanks!):

  • #878 (Store annotation getters of ClassInfo and MethodInfo)
  • #879 (Catch NoClassDefFoundError when loading methods)