decompiler: fixed SOE if referenced method name is the same as current

This commit is contained in:
Egor.Ushakov
2016-03-02 17:53:25 +03:00
parent cb72744cdb
commit 1b23240c84
6 changed files with 65 additions and 2 deletions

View File

@@ -79,6 +79,7 @@ public class SingleClassesTest {
@Test public void testShadowing() { doTest("pkg/TestShadowing", "pkg/Shadow", "ext/Shadow"); }
@Test public void testStringConcat() { doTest("pkg/TestStringConcat"); }
@Test public void testJava9StringConcat() { doTest("java9/TestJava9StringConcat"); }
@Test public void testMethodReferenceSameName() { doTest("pkg/TestMethodReferenceSameName"); }
protected void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();