classgraph: classfileResource not set for superclasses

i use Classgraph for JDK classes. i have the following problem if a subclass is scanned first and the parent class after the superclass entry will have classfileResource == null as of io.github.classgraph.ClassInfo.getOrCreateClassInfo(String, int, Map<String, ClassInfo>)

my expectation would be that io.github.classgraph.ClassInfo.addScannedClass(String, int, boolean, Map<String, ClassInfo>, ClasspathElement, Resource) corrects this in the else branch, (classInfo.classfileResource = classfileResource;) but it does not

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 27 (27 by maintainers)

Commits related to this issue

Most upvoted comments

nice. many thanks

Yes