Index: compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java,v retrieving revision 1.274 diff -u -r1.274 Scope.java --- compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 4 May 2006 17:26:59 -0000 1.274 +++ compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 15 May 2006 16:17:45 -0000 @@ -1243,7 +1243,10 @@ // see if there is a better match in the interfaces - see AutoBoxingTest 99 MethodBinding interfaceMethod = findDefaultAbstractMethod(receiverType, selector, argumentTypes, invocationSite, classHierarchyStart, found); - if (interfaceMethod != null) return interfaceMethod; + if (interfaceMethod != null) { + candidates = new MethodBinding[] {mostSpecificMethod, interfaceMethod}; + return mostSpecificMethodBinding(candidates, 2, argumentTypes, invocationSite, receiverType); + } } return mostSpecificMethod; }