[java-decompiler] skips illegal local variable names

This commit is contained in:
Roman Shevchenko
2016-04-20 15:02:39 +02:00
parent b96586cc2f
commit eaa61a1f81
6 changed files with 80 additions and 3 deletions

View File

@@ -86,6 +86,7 @@ public class SingleClassesTest {
@Test public void testStaticNameClash() { doTest("pkg/TestStaticNameClash"); }
@Test public void testExtendingSubclass() { doTest("pkg/TestExtendingSubclass"); }
@Test public void testSyntheticAccess() { doTest("pkg/TestSyntheticAccess"); }
@Test public void testIllegalVarName() { doTest("pkg/TestIllegalVarName"); }
private void doTest(String testFile, String... companionFiles) {
ConsoleDecompiler decompiler = fixture.getDecompiler();
@@ -132,4 +133,4 @@ public class SingleClassesTest {
return files;
}
}
}