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

Collapse All | Expand All

(-)a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java (+3 lines)
Lines 3299-3304 Link Here
3299
		}
3299
		}
3300
		if (this.targetJDK >= ClassFileConstants.JDK1_4) {
3300
		if (this.targetJDK >= ClassFileConstants.JDK1_4) {
3301
			AbstractMethodDeclaration methodDeclaration = methodBinding.sourceMethod();
3301
			AbstractMethodDeclaration methodDeclaration = methodBinding.sourceMethod();
3302
			if(methodBinding instanceof SyntheticMethodBinding && methodBinding.isBridge()) {
3303
				methodDeclaration = ((SyntheticMethodBinding)methodBinding).targetMethod.sourceMethod();
3304
			}
3302
			if (methodDeclaration != null) {
3305
			if (methodDeclaration != null) {
3303
				Annotation[] annotations = methodDeclaration.annotations;
3306
				Annotation[] annotations = methodDeclaration.annotations;
3304
				if (annotations != null) {
3307
				if (annotations != null) {

Return to bug 427745