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
In most cases, autoboxing expressions can be decompiled correctly by jd-core.
But I've noticed that there is a flaw when decompiling the following code: Double.valueOf(0.0).intValue();
It will be decompiled as 0.0.intValue();.
Obviously, it is incorrect, since basic types cannot be dereferenced.
Is there any way to fix it?
I think it could be transformed to a explicit cast (int) 0.0;.
Is it possible?
The text was updated successfully, but these errors were encountered:
In most cases, autoboxing expressions can be decompiled correctly by jd-core.
But I've noticed that there is a flaw when decompiling the following code:
Double.valueOf(0.0).intValue();
It will be decompiled as
0.0.intValue();
.Obviously, it is incorrect, since basic types cannot be dereferenced.
Is there any way to fix it?
I think it could be transformed to a explicit cast
(int) 0.0;
.Is it possible?
The text was updated successfully, but these errors were encountered: