Storyyeller / Krakatau

Java decompiler, assembler, and disassembler
GNU General Public License v3.0
1.95k stars 219 forks source link

too many casts #172

Open Janmm14 opened 4 years ago

Janmm14 commented 4 years ago

bytecode excerpt:

L13:    caload 
L14:    sipush 15310 
L17:    ixor 
L18:    i2c 
L19:    castore 

decompiled:

a0[0] = (char)(int)(char)((int)a0[0] ^ 15310);
Storyyeller commented 4 years ago

I'm aware of the issue, but it's a lot of work to prune the casts without sacrificing correctness.

Janmm14 commented 4 years ago

ok so i guess it'll probably stay as low priority