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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/ClassFile.java (-1 / +2 lines)
Lines 603-609 Link Here
603
			attributeNumber++;
603
			attributeNumber++;
604
		}
604
		}
605
		if (targetJDK >= ClassFileConstants.JDK1_5
605
		if (targetJDK >= ClassFileConstants.JDK1_5
606
				&& (this.referenceBinding.isAnonymousType() || this.referenceBinding.isLocalType())) {
606
				&& this.referenceBinding.isNestedType()
607
				&& !this.referenceBinding.isMemberType()) {
607
			// add enclosing method attribute (1.5 mode only)
608
			// add enclosing method attribute (1.5 mode only)
608
			if (contentsOffset + 10 >= contents.length) {
609
			if (contentsOffset + 10 >= contents.length) {
609
				resizeContents(10);
610
				resizeContents(10);

Return to bug 104738