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 142113 Details for
Bug 270437
[assist] Completion proposal leads to cycle detected error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Code plugin patch - v-0.7
270437-code-patch-v0.7.txt (text/plain), 1.76 KB, created by
Pradeep Balachandran
on 2009-07-21 06:56:23 EDT
(
hide
)
Description:
Code plugin patch - v-0.7
Filename:
MIME Type:
Creator:
Pradeep Balachandran
Created:
2009-07-21 06:56:23 EDT
Size:
1.76 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java,v >retrieving revision 1.399 >diff -u -r1.399 CompletionEngine.java >--- codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 9 Jul 2009 10:47:41 -0000 1.399 >+++ codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java 21 Jul 2009 10:55:44 -0000 >@@ -3786,6 +3786,7 @@ > TypeDeclaration typeDeclaration = ((ClassScope)scope).referenceContext; > if(typeDeclaration.superclass == astNode) { > addForbiddenBindings(typeDeclaration.binding); >+ addForbiddenBindingsForMemberTypes(typeDeclaration); > return scope.parent; > } > TypeReference[] superInterfaces = typeDeclaration.superInterfaces; >@@ -3793,6 +3794,7 @@ > for (int i = 0; i < length; i++) { > if(superInterfaces[i] == astNode) { > addForbiddenBindings(typeDeclaration.binding); >+ addForbiddenBindingsForMemberTypes(typeDeclaration); > return scope.parent; > } > } >@@ -3829,6 +3831,15 @@ > return scope; > } > >+ private void addForbiddenBindingsForMemberTypes(TypeDeclaration typeDeclaration) { >+ TypeDeclaration[] memberTypes = typeDeclaration.memberTypes; >+ int memberTypesLen = memberTypes == null ? 0 : memberTypes.length; >+ for (int i = 0; i < memberTypesLen; i++) { >+ addForbiddenBindings(memberTypes[i].binding); >+ addForbiddenBindingsForMemberTypes(memberTypes[i]); >+ } >+ } >+ > private char[] computePrefix(SourceTypeBinding declarationType, SourceTypeBinding invocationType, boolean isStatic){ > > StringBuffer completion = new StringBuffer(10);
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
Flags:
srikanth_sankaran
:
iplog+
srikanth_sankaran
:
review+
Actions:
View
|
Diff
Attachments on
bug 270437
:
136016
|
136017
|
142042
|
142043
| 142113 |
142114