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 28031 Details for
Bug 111898
[compiler] Wrong code generation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_111898.txt (text/plain), 1.03 KB, created by
Olivier Thomann
on 2005-10-07 11:30:54 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-10-07 11:30:54 EDT
Size:
1.03 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java,v >retrieving revision 1.63 >diff -u -r1.63 Assignment.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java 30 Sep 2005 12:48:42 -0000 1.63 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/Assignment.java 7 Oct 2005 15:29:24 -0000 >@@ -96,7 +96,11 @@ > int pc = codeStream.position; > if ((this.bits & IsAssignmentWithNoEffectMASK) != 0) { > if (valueRequired) { >- this.expression.generateCode(currentScope, codeStream, true); >+ if (this.expression instanceof PostfixExpression) { >+ ((Reference) lhs).generateAssignment(currentScope, codeStream, this, true); >+ } else { >+ this.expression.generateCode(currentScope, codeStream, true); >+ } > } > } else { > ((Reference) lhs).generateAssignment(currentScope, codeStream, this, valueRequired);
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 111898
:
28029
| 28031