10-20-2014, 11:15 AM
(10-20-2014, 07:07 AM)firusvg Wrote: 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:
Code:public static String tempDirectory = "bcv_temp\\";
to
Code:public static String tempDirectory = "bcv_temp"+System.getProperty("file.separator");
Cheers, sorry about that, I'll go fix that and push an update.