### Eclipse Workspace Patch 1.0 #P org.eclipse.wst.jsdt.core Index: src/org/eclipse/wst/jsdt/internal/compiler/ast/Assignment.java =================================================================== RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/Assignment.java,v retrieving revision 1.12 diff -u -r1.12 Assignment.java --- src/org/eclipse/wst/jsdt/internal/compiler/ast/Assignment.java 30 Apr 2008 21:32:19 -0000 1.12 +++ src/org/eclipse/wst/jsdt/internal/compiler/ast/Assignment.java 27 Aug 2008 11:35:12 -0000 @@ -92,7 +92,7 @@ // } else if (leftField != null && !leftField.isStatic() && leftField.declaringClass != null /*length pseudo field*/&& leftField.declaringClass.isRawType()) { // scope.problemReporter().unsafeRawFieldAssignment(leftField, rhsType, this.lhs); // } else - if (rhsType.needsUncheckedConversion(lhsType)) { + if (rhsType != null && rhsType.needsUncheckedConversion(lhsType)) { scope.problemReporter().unsafeTypeConversion(this.expression, rhsType, lhsType); } } Index: src/org/eclipse/wst/jsdt/internal/compiler/ast/AllocationExpression.java =================================================================== RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AllocationExpression.java,v retrieving revision 1.18 diff -u -r1.18 AllocationExpression.java --- src/org/eclipse/wst/jsdt/internal/compiler/ast/AllocationExpression.java 30 Apr 2008 21:32:19 -0000 1.18 +++ src/org/eclipse/wst/jsdt/internal/compiler/ast/AllocationExpression.java 27 Aug 2008 11:35:23 -0000 @@ -27,6 +27,7 @@ import org.eclipse.wst.jsdt.internal.compiler.lookup.NestedTypeBinding; import org.eclipse.wst.jsdt.internal.compiler.lookup.ProblemMethodBinding; import org.eclipse.wst.jsdt.internal.compiler.lookup.ProblemReasons; +import org.eclipse.wst.jsdt.internal.compiler.lookup.ProblemReferenceBinding; import org.eclipse.wst.jsdt.internal.compiler.lookup.ReferenceBinding; import org.eclipse.wst.jsdt.internal.compiler.lookup.SourceTypeBinding; import org.eclipse.wst.jsdt.internal.compiler.lookup.SyntheticArgumentBinding; @@ -68,7 +69,7 @@ } // record some dependency information for exception types ReferenceBinding[] thrownExceptions; - if (((thrownExceptions = this.binding.thrownExceptions).length) != 0) { + if (this.binding != null && this.binding.thrownExceptions != null && (thrownExceptions = this.binding.thrownExceptions).length != 0) { // check exception handling flowContext.checkExceptionHandlers( thrownExceptions, @@ -276,7 +277,7 @@ // return this.resolvedType; // } } - if (this.resolvedType == null || this.resolvedType.isAnyType()) + if (this.resolvedType == null || this.resolvedType.isAnyType()|| this.resolvedType instanceof ProblemReferenceBinding) { this.binding= new ProblemMethodBinding( TypeConstants.INIT, ### Eclipse Workspace Patch 1.0 #P org.eclipse.wst.jsdt.core Index: src/org/eclipse/wst/jsdt/internal/compiler/ast/AbstractMethodDeclaration.java =================================================================== RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/ast/AbstractMethodDeclaration.java,v retrieving revision 1.22 diff -u -r1.22 AbstractMethodDeclaration.java --- src/org/eclipse/wst/jsdt/internal/compiler/ast/AbstractMethodDeclaration.java 13 May 2008 22:02:31 -0000 1.22 +++ src/org/eclipse/wst/jsdt/internal/compiler/ast/AbstractMethodDeclaration.java 27 Aug 2008 11:35:41 -0000 @@ -137,7 +137,7 @@ } boolean used = this.binding.isAbstract() || this.binding.isNative(); AnnotationBinding[][] paramAnnotations = null; - for (int i = 0, length = this.arguments.length; i < length; i++) { + for (int i = 0, length = this.arguments.length; i < length && i < this.binding.parameters.length; i++) { IArgument argument = this.arguments[i]; argument.bind(this.scope, this.binding.parameters[i], used); // if (argument.getAnnotation() != null) { ### Eclipse Workspace Patch 1.0 #P org.eclipse.wst.jsdt.core Index: src/org/eclipse/wst/jsdt/internal/compiler/flow/UnconditionalFlowInfo.java =================================================================== RCS file: /cvsroot/webtools/sourceediting/plugins/org.eclipse.wst.jsdt.core/src/org/eclipse/wst/jsdt/internal/compiler/flow/UnconditionalFlowInfo.java,v retrieving revision 1.6 diff -u -r1.6 UnconditionalFlowInfo.java --- src/org/eclipse/wst/jsdt/internal/compiler/flow/UnconditionalFlowInfo.java 30 Apr 2008 21:32:39 -0000 1.6 +++ src/org/eclipse/wst/jsdt/internal/compiler/flow/UnconditionalFlowInfo.java 27 Aug 2008 11:36:29 -0000 @@ -1162,7 +1162,7 @@ } public void markAsDefinitelyAssigned(LocalVariableBinding local) { - if (this != DEAD_END) + if (this != DEAD_END && local != null) { markAsDefinitelyAssigned(getLocalID(local)); }