10-20-2014, 07:07 AM
(This post was last modified: 10-20-2014, 07:08 AM by firusvg.
Edit Reason: typos
)
Nice utility, but, unfortunately, there is a little bug in decompilation in Linux - FernFlower fails to make source file because of wrong temporary directory name. Backslash is hardcoded and that works correctly in Windows, but in Linux, file separator is forward slash, so, because of hardcoded temporary directory name, we get filename like bcv_temp\temp0.java which FernFlower couldn't handle.
Quick and dirty patch is changing line 132: in BytecodeViewer.java file from:
to
Quick and dirty patch is changing line 132: in BytecodeViewer.java file from:
Code:
public static String tempDirectory = "bcv_temp\\";
to
Code:
public static String tempDirectory = "bcv_temp"+System.getProperty("file.separator");