Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 357547 | Differences between
and this patch

Collapse All | Expand All

(-)a/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java (-1 / +1 lines)
Lines 109-115 Link Here
109
 * this message send or not.
109
 * this message send or not.
110
 */
110
 */
111
protected boolean isVirtualInvoke(MethodBinding method, MessageSend messageSend) {
111
protected boolean isVirtualInvoke(MethodBinding method, MessageSend messageSend) {
112
	return !method.isStatic() && !method.isPrivate() && !messageSend.isSuperAccess();
112
	return !method.isStatic() && !(method.isPrivate() || (method.isDefault() && !CharOperation.equals(method.declaringClass.qualifiedPackageName(),this.pattern.declaringQualification)))&& !messageSend.isSuperAccess();
113
}
113
}

Return to bug 357547