decompiler: fixed incorrect method references from single letter classes

This commit is contained in:
Egor.Ushakov
2016-03-02 20:44:56 +03:00
parent 1b23240c84
commit 876740dd0e
6 changed files with 48 additions and 2 deletions

View File

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