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 77024 Details for
Bug 190622
type binding marked as recovered but all is compiling
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_190622.txt (text/plain), 2.29 KB, created by
Olivier Thomann
on 2007-08-27 09:32:50 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-08-27 09:32:50 EDT
Size:
2.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: dom/org/eclipse/jdt/core/dom/ASTConverter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java,v >retrieving revision 1.252 >diff -u -r1.252 ASTConverter.java >--- dom/org/eclipse/jdt/core/dom/ASTConverter.java 16 Aug 2007 14:54:25 -0000 1.252 >+++ dom/org/eclipse/jdt/core/dom/ASTConverter.java 24 Aug 2007 16:10:22 -0000 >@@ -3066,7 +3066,7 @@ > } > return wildcardType; > } >- Type type = null; >+ Type type = null; > int sourceStart = -1; > int length = 0; > int dimensions = typeReference.dimensions(); >@@ -3596,7 +3596,8 @@ > while(currentNode != null > &&!(currentNode instanceof MethodDeclaration) > && !(currentNode instanceof Initializer) >- && !(currentNode instanceof FieldDeclaration)) { >+ && !(currentNode instanceof FieldDeclaration) >+ && !(currentNode instanceof AbstractTypeDeclaration)) { > currentNode = currentNode.getParent(); > } > if (currentNode == null) { >@@ -3622,9 +3623,7 @@ > while(!(currentNode instanceof AbstractTypeDeclaration)) { > currentNode = currentNode.getParent(); > } >- if (currentNode instanceof TypeDeclaration >- || currentNode instanceof EnumDeclaration >- || currentNode instanceof AnnotationTypeDeclaration) { >+ if (currentNode instanceof AbstractTypeDeclaration) { > org.eclipse.jdt.internal.compiler.ast.TypeDeclaration typeDecl = (org.eclipse.jdt.internal.compiler.ast.TypeDeclaration) this.ast.getBindingResolver().getCorrespondingNode(currentNode); > if ((fieldDeclaration.getModifiers() & Modifier.STATIC) != 0) { > return typeDecl.staticInitializerScope; >@@ -3632,6 +3631,9 @@ > return typeDecl.initializerScope; > } > } >+ } else if (currentNode instanceof AbstractTypeDeclaration) { >+ org.eclipse.jdt.internal.compiler.ast.TypeDeclaration typeDecl = (org.eclipse.jdt.internal.compiler.ast.TypeDeclaration) this.ast.getBindingResolver().getCorrespondingNode(currentNode); >+ return typeDecl.initializerScope; > } > AbstractMethodDeclaration abstractMethodDeclaration = (AbstractMethodDeclaration) this.ast.getBindingResolver().getCorrespondingNode(currentNode); > return abstractMethodDeclaration.scope;
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 190622
: 77024 |
77025