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 56580 Details for
Bug 169744
[AST] character position range wrong for super method call with type arguments
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix for 3.2 maintenance branch
patch_169744_322.txt (text/plain), 1.84 KB, created by
Olivier Thomann
on 2007-01-08 13:52:42 EST
(
hide
)
Description:
Proposed fix for 3.2 maintenance branch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-01-08 13:52:42 EST
Size:
1.84 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java,v >retrieving revision 1.346 >diff -u -r1.346 Parser.java >--- compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 29 Mar 2006 02:47:34 -0000 1.346 >+++ compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 8 Jan 2007 18:46:03 -0000 >@@ -4367,7 +4367,7 @@ > // MethodInvocation ::= 'super' '.' 'Identifier' '(' ArgumentListopt ')' > > MessageSend m = newMessageSend(); >- m.sourceStart = this.intStack[this.intPtr--]; >+ m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword > m.sourceEnd = this.rParenPos; > m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]; > m.selector = this.identifierStack[this.identifierPtr--]; >@@ -4379,7 +4379,7 @@ > // MethodInvocation ::= 'super' '.' TypeArguments 'Identifier' '(' ArgumentListopt ')' > > MessageSend m = newMessageSendWithTypeArguments(); >- m.sourceStart = this.intStack[this.intPtr--]; >+ intPtr--; // start position of the typeArguments > m.sourceEnd = this.rParenPos; > m.nameSourcePosition = this.identifierPositionStack[this.identifierPtr]; > m.selector = this.identifierStack[this.identifierPtr--]; >@@ -4389,7 +4389,7 @@ > int length = this.genericsLengthStack[this.genericsLengthPtr--]; > this.genericsPtr -= length; > System.arraycopy(this.genericsStack, this.genericsPtr + 1, m.typeArguments = new TypeReference[length], 0, length); >- intPtr--; >+ m.sourceStart = this.intStack[this.intPtr--]; // start position of the super keyword > > m.receiver = new SuperReference(m.sourceStart, this.endPosition); > pushOnExpressionStack(m);
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 169744
:
56578
|
56579
| 56580