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
Hello, I am running some tests in Java bytecode (using Jasmin) and attempting to decompile the resulting class files using Procyon. In some cases Procyon incorrectly decompiles an int as a boolean, resulting in a switch on a boolean. This is technically recompilable (if –enable-preview is used during compilation), but it looks unintentional - what is causing this?
Hello, I am running some tests in Java bytecode (using Jasmin) and attempting to decompile the resulting class files using Procyon. In some cases Procyon incorrectly decompiles an int as a boolean, resulting in a switch on a boolean. This is technically recompilable (if –enable-preview is used during compilation), but it looks unintentional - what is causing this?
Thanks!
Version info
Procyon decompiler 0.6.0
OpenJDK 19.0.2 2023-01-17
x86_64 Ubuntu 22.04
Example
Example bytecode file, which I compile to a class file (ClassFile.zip):
Decompiling the class file using Procyon gives this:
The text was updated successfully, but these errors were encountered: