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
When I tried to compile the decompiled code, a compilation error occurred:
./Demo1.java:13: error: incompatible types: bad typein conditional expression
return this.foo(bl != false? c : t2);
^
Character cannot be converted to T
where T is a type-variable:
T extends Character declared in class Demo1
Note: ./Demo1.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
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 the source files and the decompilation results 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, and I found a bug related to CFR's incorrect modifications to the type of generic class variables.
I have tested this issue with several code samples, and here is an example:
After decompiling with CFR, the type of
t3
andn
were modified:When I tried to compile the decompiled code, a compilation error occurred:
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 the source files and the decompilation results and I hope they will be helpful: demo.zip.
The text was updated successfully, but these errors were encountered: