Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 37216 Details for
Bug 133738
[compiler] Eclipse compiler compiles program but javac does not (2 of 2)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_133738.txt (text/plain), 1.84 KB, created by
Olivier Thomann
on 2006-03-29 11:50:02 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2006-03-29 11:50:02 EST
Size:
1.84 KB
patch
obsolete
>### 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
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 133738
: 37216