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
I'm seeing this same issue with --compiler-target 1.8 as well: java -jar procyon-decompiler-0.6.0.jar -o ./sources-ROOT/classes --compiler-target 1.8 SomeJava8Class.class
The .class file was compiled with Java 1.8.0_101.
The resulting .java file shows the same odd Throwable t2 = null; try { ... } sequence instead of try (...) { ... }.
I was suggested to open this java decompiler issue from here
deathmarine/Luyten#290
A jdk8 class file with "try with resources" code doesnt decompile correctly
Here's the source
And here's what the tool outputs ( im using v0.5.4) in my default config
I couldn't find past issues around this area.
Is this addressed in any of the recent builds?
thanks in advance!
The text was updated successfully, but these errors were encountered: