View | Details | Raw Unified | Return to bug 141704
Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java (-1 / +4 lines)
Lines 1243-1249 Link Here
1243
				// see if there is a better match in the interfaces - see AutoBoxingTest 99
1243
				// see if there is a better match in the interfaces - see AutoBoxingTest 99
1244
				MethodBinding interfaceMethod =
1244
				MethodBinding interfaceMethod =
1245
					findDefaultAbstractMethod(receiverType, selector, argumentTypes, invocationSite, classHierarchyStart, found);
1245
					findDefaultAbstractMethod(receiverType, selector, argumentTypes, invocationSite, classHierarchyStart, found);
1246
				if (interfaceMethod != null) return interfaceMethod;
1246
				if (interfaceMethod != null) {
1247
					candidates = new MethodBinding[] {mostSpecificMethod, interfaceMethod};
1248
					return mostSpecificMethodBinding(candidates, 2, argumentTypes, invocationSite, receiverType);
1249
				}
1247
		}
1250
		}
1248
		return mostSpecificMethod;
1251
		return mostSpecificMethod;
1249
	}
1252
	}

Return to bug 141704