You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@sebthom Thanks for the report -- sorry for the delay.
This is actually intentional, since it was kind of a pain seeing java.lang.Object as the superclass of every toplevel class. I made this (rather arbitrary) decision to suppress Object early on in ClassGraph's history, and I'm a bit worried that if I put it back into the return values of all methods that filter it out, it would break some people's code. Maybe though at least if you specifically enable system jars and modules, this class should be scanned.
This is probably a good candidate for the next major version of ClassGraph (5.0), since that will have breaking changes, but I don't have a timeline for when that will be done.
I am using this code to get all classes of the
java.lang
package, howeverjava.lang.Object
is missing in the result ofscanResult.getClasses()
;I am using OpenJKD 11 with the latest classgraph release.
The text was updated successfully, but these errors were encountered: