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 163070 Details for
Bug 292087
anonymous class in array member initializer confuses content assist
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch under consideration.
patch.txt (text/plain), 1.35 KB, created by
Srikanth Sankaran
on 2010-03-26 04:49:07 EDT
(
hide
)
Description:
Patch under consideration.
Filename:
MIME Type:
Creator:
Srikanth Sankaran
Created:
2010-03-26 04:49:07 EDT
Size:
1.35 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.417 >diff -u -r1.417 Parser.java >--- compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 19 Mar 2010 12:43:52 -0000 1.417 >+++ compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 26 Mar 2010 07:36:23 -0000 >@@ -10332,10 +10332,13 @@ > this.currentElement = this.currentElement.parent; > } else if(this.currentElement instanceof RecoveredField > && !(this.currentElement instanceof RecoveredInitializer)) { >- >- int end = ((RecoveredField)this.currentElement).fieldDeclaration.sourceEnd; >- this.currentElement.updateSourceEndIfNecessary(end); >- this.currentElement = this.currentElement.parent; >+ // Do not move focus to parent if we are still inside an array initializer >+ // https://bugs.eclipse.org/bugs/show_bug.cgi?id=292087 >+ if (this.currentElement.bracketBalance <= 0) { >+ int end = ((RecoveredField)this.currentElement).fieldDeclaration.sourceEnd; >+ this.currentElement.updateSourceEndIfNecessary(end); >+ this.currentElement = this.currentElement.parent; >+ } > } > } > }
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 292087
:
163070
|
163490
|
167879
|
193572
|
193863
|
201378