### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java,v retrieving revision 1.131 diff -u -r1.131 BinaryTypeBinding.java --- compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java 19 Nov 2010 14:22:00 -0000 1.131 +++ compiler/org/eclipse/jdt/internal/compiler/lookup/BinaryTypeBinding.java 17 Dec 2010 16:03:27 -0000 @@ -953,7 +953,13 @@ if (wrapper.signature[wrapper.start] == ':') { type = this.environment.getResolvedType(TypeConstants.JAVA_LANG_OBJECT, null); } else { - type = (ReferenceBinding) this.environment.getTypeFromTypeSignature(wrapper, existingVariables, this, missingTypeNames); + TypeBinding typeFromTypeSignature = this.environment.getTypeFromTypeSignature(wrapper, existingVariables, this, missingTypeNames); + if (typeFromTypeSignature instanceof ReferenceBinding) { + type = (ReferenceBinding) typeFromTypeSignature; + } else { + // this should only happen if the signature is corrupted (332423) + type = this.environment.getResolvedType(TypeConstants.JAVA_LANG_OBJECT, null); + } firstBound = type; }