hi @lafortune the library jar is not processed at all. the bug here is that proguard doesn't evaluate T. In the given example proguard should create the version of the method with MyPojo but it doesn't
Hi @lafortune, let me give you an example with a main method. public class Main { public static void main(String... args) { MyInterface<MyPojo> inter = new MyImplFail(); inter.setTypedSomething(new MyPojo()); inter.getTypedSomething(); System.out.println("done"); } } This code produces output "done" to stdout. Now this class obfuscated is: public class Main { public Main() { } public static void main(String... var0) { a var1; (var1 = new a()).setTypedSomething(new b()); var1.getTypedSomething();...
Hi @lafortune, the problem is that methods setTypedSomethingand getTypedSomething got renamed. in implementation. The interface is in library jar and therefore we can't rename the implementation methods, right? notice that it works fine for method normalMethod.
Library interface with generics fails