View | Details | Raw Unified | Return to bug 330445 | Differences between
and this patch

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java (-1 / +2 lines)
Lines 3896-3902 Link Here
3896
			for (int i = 0; i < argLength; i++) {
3896
			for (int i = 0; i < argLength; i++) {
3897
				TypeBinding param = parameters[i];
3897
				TypeBinding param = parameters[i];
3898
				TypeBinding arg = arguments[i];
3898
				TypeBinding arg = arguments[i];
3899
				if (arg != param && !arg.isCompatibleWith(param))
3899
				//https://bugs.eclipse.org/bugs/show_bug.cgi?id=330445
3900
				if (arg != param && !arg.erasure().isCompatibleWith(param.erasure()))
3900
					return NOT_COMPATIBLE;
3901
					return NOT_COMPATIBLE;
3901
			}
3902
			}
3902
			return COMPATIBLE;
3903
			return COMPATIBLE;

Return to bug 330445