Supported complex cases of SAM adapters inheritance/overriding.
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
package test;
|
||||
|
||||
public interface InheritedSameAdapters {
|
||||
public interface Super1 {
|
||||
void foo(Runnable r);
|
||||
}
|
||||
|
||||
public interface Super2 {
|
||||
void foo(Runnable r);
|
||||
}
|
||||
|
||||
public interface Sub extends Super1, Super2 {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user