Index: compiler/org/eclipse/jdt/internal/compiler/ast/ArrayAllocationExpression.java =================================================================== RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ArrayAllocationExpression.java,v retrieving revision 1.33 diff -u -r1.33 ArrayAllocationExpression.java --- compiler/org/eclipse/jdt/internal/compiler/ast/ArrayAllocationExpression.java 1 Dec 2004 20:51:37 -0000 1.33 +++ compiler/org/eclipse/jdt/internal/compiler/ast/ArrayAllocationExpression.java 9 Dec 2004 15:26:55 -0000 @@ -130,6 +130,7 @@ } else if (explicitDimIndex> 0) { // should not have an empty dimension before an non-empty one scope.problemReporter().incorrectLocationForEmptyDimension(this, i); + explicitDimIndex = -1; } }