import java.util.Collection; import java.util.Iterator; import java.util.List; import java.util.ListIterator; public class Bug { public static interface ParentA { T process() throws Exception; } public static interface ParentB { T process() throws Exception; } public static interface Child extends ParentA, ParentB { } public static class ChildImpl implements Child { @Override public T process() { return null; } } public static void main(String[] args) throws Exception { Child child = new ChildImpl(); String result = child.process(); System.err.println(result); } }