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 (-2 / +8 lines)
Lines 1-5 Link Here
1
/*******************************************************************************
1
/*******************************************************************************
2
 * Copyright (c) 2000, 2010 IBM Corporation and others.
2
 * Copyright (c) 2000, 2011 IBM Corporation and others.
3
 * All rights reserved. This program and the accompanying materials
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
5
 * which accompanies this distribution, and is available at
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