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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticMethodBinding.java (-1 / +1 lines)
Lines 224-230 Link Here
224
	    this.selector = overridenMethodToBridge.selector;
224
	    this.selector = overridenMethodToBridge.selector;
225
	    // amongst other, clear the AccGenericSignature, so as to ensure no remains of original inherited persist (101794)
225
	    // amongst other, clear the AccGenericSignature, so as to ensure no remains of original inherited persist (101794)
226
	    // also use the modifiers from the target method, as opposed to inherited one (147690)
226
	    // also use the modifiers from the target method, as opposed to inherited one (147690)
227
	    this.modifiers = (targetMethod.modifiers | ClassFileConstants.AccBridge | ClassFileConstants.AccSynthetic) & ~(ClassFileConstants.AccAbstract | ClassFileConstants.AccNative | ExtraCompilerModifiers.AccGenericSignature);
227
	    this.modifiers = (targetMethod.modifiers | ClassFileConstants.AccBridge | ClassFileConstants.AccSynthetic) & ~(ClassFileConstants.AccAbstract | ClassFileConstants.AccNative | ExtraCompilerModifiers.AccGenericSignature | ClassFileConstants.AccFinal);
228
		this.tagBits |= TagBits.AnnotationResolved;
228
		this.tagBits |= TagBits.AnnotationResolved;
229
	    this.returnType = overridenMethodToBridge.returnType;
229
	    this.returnType = overridenMethodToBridge.returnType;
230
	    this.parameters = overridenMethodToBridge.parameters;
230
	    this.parameters = overridenMethodToBridge.parameters;

Return to bug 159973