deathmarine / Luyten

An Open Source Java Decompiler Gui for Procyon
Other
5.01k stars 999 forks source link

try with resources decompilation is not accurate #290

Open sadaaithal opened 3 years ago

sadaaithal commented 3 years ago

A jdk8 class file with "try with resources" code doesnt decompile correctly Here's the source image

And here's what the tool outputs ( im using v0.5.4) in my default config

image

I couldn't find past issues around this area. Is this addressed in any of the recent builds? thanks in advance!

greenozon commented 3 years ago

@sadaaithal This is not Luyten issue, it's up to decompiler engine - procyon I'd recommend to open up such an issue over here https://github.com/mstrobel/procyon/issues

sadaaithal commented 3 years ago

@sadaaithal This is not Luyten issue, it's up to decompiler engine - procyon I'd recommend to open up such an issue over here https://github.com/mstrobel/procyon/issues

thanks @greenozon , ive opened an issue under the procyon project