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 43482 Details for
Bug 145333
[hierarchy] Resolving too much
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
145333.txt (text/plain), 1.25 KB, created by
Jerome Lanneluc
on 2006-06-05 11:55:01 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2006-06-05 11:55:01 EDT
Size:
1.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java,v >retrieving revision 1.66 >diff -u -r1.66 HierarchyResolver.java >--- model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java 3 May 2006 16:55:02 -0000 1.66 >+++ model/org/eclipse/jdt/internal/core/hierarchy/HierarchyResolver.java 5 Jun 2006 15:56:48 -0000 >@@ -677,7 +677,9 @@ > if (containsLocalType) { // NB: no-op if method bodies have been already parsed > parser.getMethodBodies(parsedUnit); > } >- this.lookupEnvironment.completeTypeBindings(parsedUnit, true/*build constructor only*/); >+ // complete type bindings and build fields and methods only for local types >+ // the constructor is needed when resolving local types (see >+ this.lookupEnvironment.completeTypeBindings(parsedUnit, containsLocalType); > } catch (AbortCompilation e) { > // classpath problem for this type: don't try to resolve (see https://bugs.eclipse.org/bugs/show_bug.cgi?id=49809) > hasLocalType[i] = false;
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 145333
: 43482