Commit 53e4c3bd authored by Eric Bruneton's avatar Eric Bruneton

Add failing test showing the issue.

parent 12c3a8ad
......@@ -55,6 +55,15 @@ public class SignatureRemapperTest {
remapper.mapSignature("LOuter<Ljava/lang/Object;>.Inner;", false));
}
@Test
public void testRemappingChildOnlyNestedClassExtends_IdentifiersWith$() {
Remapper remapper =
new SimpleRemapper(Collections.singletonMap("Outer$Inner$1", "Outer$RenamedInner$1"));
assertEquals(
"LOuter<Ljava/lang/Object;>.RenamedInner$1;",
remapper.mapSignature("LOuter<Ljava/lang/Object;>.Inner$1;", false));
}
@Test
public void testRemappingBothParentAndChildNestedClassExtends() {
Map<String, String> mapping = new HashMap<String, String>();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment