github classgraph/classgraph fast-classpath-scanner-2.12.0

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

Bugfix release.

  • Fix parsing of generic method signatures (#172 -- thanks to @anthonykr3 for reporting, and for submitting a testcase).
  • Handle ZipSFX (self-extracting) jarfiles on the classpath, i.e. zipfiles with a Bash script or .exe section prepended before the PK zipfile marker. These can be created by Spring-Boot. (#171 -- thanks to @ncoe for reporting).
  • There is a new interface for getting type information as structured classes, rather than as strings:
    • MethodSignature MethodInfo#getTypeSignature()
    • TypeSignature MethodInfo#getReturnTypeSignature()
    • TypeSignature[] MethodInfo#getParameterTypeSignatures()
    • ClassTypeOrTypeVariableSignature[] MethodInfo#getThrowsTypeSignatures()
    • TypeParameter[] MethodInfo#getTypeParameters()
    • TypeSignature FieldInfo#getTypeSignature()
    • TypeSignature AnnotationInfo#getTypeSignature()
  • Lots of internal refactoring and cleanup.

One "soft" breaking change is that Java standard type names will now be reported with their fully-qualified pathname again (i.e. with java.lang. or java.util. prepended), hence the version bump to 2.12.x.

Don't miss a new classgraph release

NewReleases is sending notifications on new releases.