Correctly processing inherited methods when checking for SAM interface.

This commit is contained in:
Evgeny Gerashchenko
2013-06-14 20:06:01 +04:00
parent 63c17bd0b2
commit 8e49eb135a
7 changed files with 139 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
package test;
public interface SamSubinterfaceOfTwo {
public interface Super1 {
CharSequence f();
}
public interface Super2<T> {
T f();
}
public interface Sub extends Super1, Super2<String> {
}
}