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

Collapse All | Expand All

(-)CodeStream.java (-1 / +11 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
				final TypeBinding[] wildcardBounds=wildcardBinding.otherBounds;
5135
				final int boundsLength=wildcardBounds.length;
5136
				TypeBinding[] bounds = new TypeBinding[boundsLength + 1];
5137
				bounds[0] = wildcardBinding.bound;
5138
				System.arraycopy(wildcardBounds, 0, bounds, 1, boundsLength);
5139
				this.anewarray(Scope.greaterLowerBound(bounds)[0]);
5140
			} else {
5141
				this.anewarray(component);
5142
			}
5133
	}
5143
	}
5134
}
5144
}
5135
public void newJavaLangError() {
5145
public void newJavaLangError() {

Return to bug 99260