leibnitz27 / cfr

This is the public repository for the CFR Java decompiler
https://www.benf.org/other/cfr
MIT License
2.06k stars 263 forks source link

CFR API SinkReturns#Decompiled#getPackageName() return emptry string for module-info.class #331

Open TheNullablePrototype opened 2 years ago

TheNullablePrototype commented 2 years ago

Gradle API CFR version implementation 'org.benf:cfr:0.152'

Compiler 18.0.2.1

Description: SinkReturns#Decompiled#getPackageName() return empty string for jar\META-INF\versions\9\module-info.class

Something like was expected output:

Package [META-INF\versions\9\] Class [module-info]
Package [com.prototype.toolkit] Class [Constants]

Actual output:

Package [] Class [module-info]
Package [com.prototype.toolkit] Class [Constants]

Example zip attached: CfrDebug.java and test-issue.jar for reproducing the problem CfrIssue.zip