### Eclipse Workspace Patch 1.0 #P org.eclipse.jdt.core Index: compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java,v retrieving revision 1.20 diff -u -r1.20 LongLiteral.java --- compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java 28 Mar 2006 20:29:56 -0000 1.20 +++ compiler/org/eclipse/jdt/internal/compiler/ast/LongLiteral.java 29 Mar 2006 16:49:31 -0000 @@ -140,7 +140,8 @@ (source[15] == '5') && (source[16] == '8') && (source[17] == '0') && - (source[18] == '8')); + (source[18] == '8') && + (((this.bits & ASTNode.ParenthesizedMASK) >> ASTNode.ParenthesizedSHIFT) == 0)); } public TypeBinding resolveType(BlockScope scope) { // the format may be incorrect while the scanner could detect Index: compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java =================================================================== RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java,v retrieving revision 1.20 diff -u -r1.20 IntLiteral.java --- compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java 28 Mar 2006 20:29:57 -0000 1.20 +++ compiler/org/eclipse/jdt/internal/compiler/ast/IntLiteral.java 29 Mar 2006 16:49:31 -0000 @@ -119,7 +119,9 @@ (source[6] == '3') && (source[7] == '6') && (source[8] == '4') && - (source[9] == '8'));} + (source[9] == '8') && + (((this.bits & ASTNode.ParenthesizedMASK) >> ASTNode.ParenthesizedSHIFT) == 0)); +} public TypeBinding resolveType(BlockScope scope) { // the format may be incorrect while the scanner could detect // such an error only on painfull tests...easier and faster here