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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/MethodVerifier.java (-2 / +2 lines)
Lines 342-349 Link Here
342
				if (mustImplementAbstractMethod(methods[i].declaringClass)) {
342
				if (mustImplementAbstractMethod(methods[i].declaringClass)) {
343
					TypeDeclaration typeDeclaration = this.type.scope.referenceContext;
343
					TypeDeclaration typeDeclaration = this.type.scope.referenceContext;
344
					if (typeDeclaration != null) {
344
					if (typeDeclaration != null) {
345
						MethodDeclaration missingAbstractMethod = typeDeclaration.addMissingAbstractMethodFor(methods[0]);
345
						MethodDeclaration missingAbstractMethod = typeDeclaration.addMissingAbstractMethodFor(methods[i]);
346
						missingAbstractMethod.scope.problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]);
346
						missingAbstractMethod.scope.problemReporter().abstractMethodMustBeImplemented(this.type, methods[i]);
347
					} else {
347
					} else {
348
						problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]);
348
						problemReporter().abstractMethodMustBeImplemented(this.type, methods[0]);
349
					}
349
					}

Return to bug 249134