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
Hi! I am doing some research based on CFR. I would like to report an issue that I encountered while using the CFR decompiler. Specifically, I found that the type conversion expression passed to a constructor is lost during decompilation.
As you can see, the type conversion expression (byte) is missing, which can cause compilation errors when trying to compile the decompiled code:
./Demo.java:9: error: incompatible types: possible lossy conversion from int to byte
T1 t1 = new T1(-70);
^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Would you please have a look at this? It is important for me!
Thanks a lot!
CFR version: CFR 0.153-SNAPSHOT (24c7433-dirty).
Javac version: openjdk 11.0.18 2023-01-17.
I also attach relative files and I hope they will be helpful: demo.zip.
The text was updated successfully, but these errors were encountered:
Hi! I am doing some research based on CFR. I would like to report an issue that I encountered while using the CFR decompiler. Specifically, I found that the type conversion expression passed to a constructor is lost during decompilation.
Here is an example:
After decompiling this code with CFR, the resulting code looks like this:
As you can see, the type conversion expression
(byte)
is missing, which can cause compilation errors when trying to compile the decompiled code:Would you please have a look at this? It is important for me!
Thanks a lot!
CFR version: CFR 0.153-SNAPSHOT (24c7433-dirty).
Javac version: openjdk 11.0.18 2023-01-17.
I also attach relative files and I hope they will be helpful: demo.zip.
The text was updated successfully, but these errors were encountered: