### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/Compiler.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/Compiler.java,v retrieving revision 1.95 diff -u -r1.95 Compiler.java --- compiler/org/eclipse/jdt/internal/compiler/Compiler.java 26 Apr 2007 02:51:41 -0000 1.95 +++ compiler/org/eclipse/jdt/internal/compiler/Compiler.java 14 Sep 2007 19:18:12 -0000 @@ -670,7 +670,7 @@ // we reset the compiler in order to restart with the new units internalBeginToCompile(newUnits, newUnitSize); bottom = top; - top = this.unitsToProcess.length; + top = this.totalUnits; // last unit added } else { bottom = top; }