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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/SyntheticMethodBinding.java (-1 / +1 lines)
Lines 241-247 Link Here
241
	public SyntheticMethodBinding(SourceTypeBinding declaringEnum, char[] selector) {
241
	public SyntheticMethodBinding(SourceTypeBinding declaringEnum, char[] selector) {
242
	    this.declaringClass = declaringEnum;
242
	    this.declaringClass = declaringEnum;
243
	    this.selector = selector;
243
	    this.selector = selector;
244
	    this.modifiers = ClassFileConstants.AccFinal | ClassFileConstants.AccPublic | ClassFileConstants.AccStatic;
244
	    this.modifiers = ClassFileConstants.AccPublic | ClassFileConstants.AccStatic;
245
		this.tagBits |= TagBits.AnnotationResolved;
245
		this.tagBits |= TagBits.AnnotationResolved;
246
	    this.thrownExceptions = Binding.NO_EXCEPTIONS;
246
	    this.thrownExceptions = Binding.NO_EXCEPTIONS;
247
		if (selector == TypeConstants.VALUES) {
247
		if (selector == TypeConstants.VALUES) {

Return to bug 141155