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

Collapse All | Expand All

(-)compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java (-1 / +7 lines)
Lines 953-959 Link Here
953
	if (wrapper.signature[wrapper.start] == ':') {
953
	if (wrapper.signature[wrapper.start] == ':') {
954
		type = this.environment.getResolvedType(TypeConstants.JAVA_LANG_OBJECT, null);
954
		type = this.environment.getResolvedType(TypeConstants.JAVA_LANG_OBJECT, null);
955
	} else {
955
	} else {
956
		type = (ReferenceBinding) this.environment.getTypeFromTypeSignature(wrapper, existingVariables, this, missingTypeNames);
956
		TypeBinding typeFromTypeSignature = this.environment.getTypeFromTypeSignature(wrapper, existingVariables, this, missingTypeNames);
957
		if (typeFromTypeSignature instanceof ReferenceBinding) {
958
			type = (ReferenceBinding) typeFromTypeSignature;
959
		} else {
960
			// this should only happen if the signature is corrupted (332423)
961
			type = this.environment.getResolvedType(TypeConstants.JAVA_LANG_OBJECT, null);
962
		}
957
		firstBound = type;
963
		firstBound = type;
958
	}
964
	}
959
965

Return to bug 332423