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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java (-1 / +9 lines)
Lines 5129-5135 Link Here
5129
			this.newarray(DOUBLE_ARRAY);
5129
			this.newarray(DOUBLE_ARRAY);
5130
			break;
5130
			break;
5131
		default :
5131
		default :
5132
			this.anewarray(component);
5132
			if (component.isWildcard()) {
5133
				WildcardBinding wildcardBinding = (WildcardBinding) component;
5134
				TypeBinding[] bounds = new TypeBinding[wildcardBinding.otherBounds.length + 1];
5135
				bounds[0] = wildcardBinding.bound;
5136
				System.arraycopy(wildcardBinding.otherBounds, 0, bounds, 1, wildcardBinding.otherBounds.length);
5137
				this.anewarray(Scope.greaterLowerBound(bounds)[0]);
5138
			} else {
5139
				this.anewarray(component);
5140
			}
5133
	}
5141
	}
5134
}
5142
}
5135
public void newJavaLangError() {
5143
public void newJavaLangError() {

Return to bug 99260