Merge pull request #131 from afffsdd/master

Fix crash on start; update Fernflower and CFR
This commit is contained in:
Kalen (Konloch) Kinloch 2016-03-12 20:04:41 -07:00
commit 45c8bb4aac

AI 샘플 코드 생성 중입니다

Loading...
7 changed files with 2 additions and 2 deletions

BIN
libs/fernflower-2016.jar Normal file

Binary file not shown.

Binary file not shown.

BIN
libs/slf4j-api-1.7.18.jar Normal file

Binary file not shown.

BIN
libs/slf4j-nop-1.7.18.jar Normal file

Binary file not shown.

View File

@ -195,7 +195,7 @@ public class CFRDecompiler extends Decompiler {
e1.analyseTop(dcCommonState);
TypeUsageCollector collectingDumper = new TypeUsageCollector(e1);
e1.collectTypeUsages(collectingDumper);
d = new FileDumper(output.toAbsolutePath().toString(), e1.getClassType(), summaryDumper, collectingDumper.getTypeUsageInformation(), options, illegalIdentifierDump);
d = new FileDumper(output.toAbsolutePath().toString(), true, e1.getClassType(), summaryDumper, collectingDumper.getTypeUsageInformation(), options, illegalIdentifierDump);
e1.dump(d);
d.print("\n");
d.print("\n");

View File

@ -1245,7 +1245,7 @@ public class MainViewerGUI extends JFrame implements FileChangeNotifier {
}
}
});
panelGroup1.setSelected(allDecompilersRev.get(panelGroup1).get(Decompiler.JDGUI).getModel(), true);
panelGroup1.setSelected(allDecompilersRev.get(panelGroup1).get(Decompiler.FERNFLOWER).getModel(), true);
panelGroup2.setSelected(allDecompilersRev.get(panelGroup2).get(Decompiler.BYTECODE).getModel(), true);
panelGroup3.setSelected(allDecompilersRev.get(panelGroup3).get(null).getModel(), true);
this.setLocationRelativeTo(null);