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

(-)compiler/org/eclipse/jdt/internal/compiler/ast/JavadocMessageSend.java (+3 lines)
Lines 164-169 Link Here
164
					}
164
					}
165
				}
165
				}
166
			}
166
			}
167
		} else if (scope.parameterCompatibilityLevel(this.binding, argumentTypes) == Scope.AUTOBOX_COMPATIBLE) {
168
			MethodBinding problem = new ProblemMethodBinding(this.binding, this.selector, argumentTypes, ProblemReasons.Ambiguous);
169
			scope.problemReporter().javadocInvalidMethod(this, problem, scope.getDeclarationModifiers());
167
		}
170
		}
168
		if (isMethodUseDeprecated(this.binding, scope, true)) {
171
		if (isMethodUseDeprecated(this.binding, scope, true)) {
169
			scope.problemReporter().javadocDeprecatedMethod(this.binding, this, scope.getDeclarationModifiers());
172
			scope.problemReporter().javadocDeprecatedMethod(this.binding, this, scope.getDeclarationModifiers());
(-)compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java (-1 / +1 lines)
Lines 3406-3412 Link Here
3406
		return lastMethodScope; // may answer null if no method around
3406
		return lastMethodScope; // may answer null if no method around
3407
	}
3407
	}
3408
3408
3409
	protected int parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments) {
3409
	public int parameterCompatibilityLevel(MethodBinding method, TypeBinding[] arguments) {
3410
		TypeBinding[] parameters = method.parameters;
3410
		TypeBinding[] parameters = method.parameters;
3411
		int paramLength = parameters.length;
3411
		int paramLength = parameters.length;
3412
		int argLength = arguments.length;
3412
		int argLength = arguments.length;

Return to bug 160015