cfr icon indicating copy to clipboard operation
cfr copied to clipboard

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

Open TheNullablePrototype opened this issue 3 years ago • 0 comments

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

TheNullablePrototype avatar Sep 04 '22 18:09 TheNullablePrototype