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 109304 Details for
Bug 242961
[DOM] ITypeBinding.getDeclaredFields returns empty results if any field has undefined type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_242961.txt (text/plain), 1.00 KB, created by
Olivier Thomann
on 2008-08-06 10:14:18 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2008-08-06 10:14:18 EDT
Size:
1.00 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: dom/org/eclipse/jdt/core/dom/TypeBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java,v >retrieving revision 1.141 >diff -u -r1.141 TypeBinding.java >--- dom/org/eclipse/jdt/core/dom/TypeBinding.java 28 Jul 2008 23:42:57 -0000 1.141 >+++ dom/org/eclipse/jdt/core/dom/TypeBinding.java 6 Aug 2008 14:13:39 -0000 >@@ -193,10 +193,9 @@ > for (int i = 0; i < length; i++) { > FieldBinding fieldBinding = fieldBindings[i]; > IVariableBinding variableBinding = this.resolver.getVariableBinding(fieldBinding); >- if (variableBinding == null) { >- return this.fields = NO_VARIABLE_BINDINGS; >+ if (variableBinding != null) { >+ newFields[convertedFieldCount++] = variableBinding; > } >- newFields[convertedFieldCount++] = variableBinding; > } > > if (convertedFieldCount != length) {
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 242961
: 109304 |
109307