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 17912 Details for
Bug 85125
When bracket is placed after MethodDeclarator, build fails.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Possible patch
85125.txt (text/plain), 1.89 KB, created by
Philipe Mulet
on 2005-02-14 09:54:22 EST
(
hide
)
Description:
Possible patch
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2005-02-14 09:54:22 EST
Size:
1.89 KB
patch
obsolete
>Index: Parser.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java,v >retrieving revision 1.279 >diff -u -r1.279 Parser.java >--- Parser.java 17 Jan 2005 22:22:14 -0000 1.279 >+++ Parser.java 14 Feb 2005 14:34:43 -0000 >@@ -2703,19 +2703,7 @@ > declaration.type = type; > } else { > int dimension = typeDim + extendedDimension; >- //on the this.identifierLengthStack there is the information about the type.... >- int baseType; >- if ((baseType = this.identifierLengthStack[this.identifierLengthPtr + 1]) < 0) { >- //it was a baseType >- int typeSourceStart = type.sourceStart; >- int typeSourceEnd = type.sourceEnd; >- type = TypeReference.baseTypeReference(-baseType, dimension); >- type.sourceStart = typeSourceStart; >- type.sourceEnd = typeSourceEnd; >- declaration.type = type; >- } else { >- declaration.type = this.copyDims(type, dimension); >- } >+ declaration.type = this.copyDims(type, dimension); > } > this.variablesCounter[this.nestedType]++; > pushOnAstStack(declaration); >@@ -3792,18 +3780,7 @@ > TypeReference returnType = md.returnType; > md.sourceEnd = this.endPosition; > int dims = returnType.dimensions() + extendedDims; >- int baseType; >- if ((baseType = this.identifierLengthStack[this.identifierLengthPtr + 1]) < 0) { >- //it was a baseType >- int sourceStart = returnType.sourceStart; >- int sourceEnd = returnType.sourceEnd; >- returnType = TypeReference.baseTypeReference(-baseType, dims); >- returnType.sourceStart = sourceStart; >- returnType.sourceEnd = sourceEnd; >- md.returnType = returnType; >- } else { >- md.returnType = this.copyDims(md.returnType, dims); >- } >+ md.returnType = this.copyDims(md.returnType, dims); > if (this.currentToken == TokenNameLBRACE){ > md.bodyStart = this.endPosition + 1; > }
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 85125
: 17912