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 23166 Details for
Bug 100142
CCE when calling ITypeBinding#getJavaElement() on char[][]
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Change in TypeBinding
patch100142_org.eclipse.jdt.core.txt (text/plain), 1.09 KB, created by
Jerome Lanneluc
on 2005-06-15 07:34:02 EDT
(
hide
)
Description:
Change in TypeBinding
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-06-15 07:34:02 EDT
Size:
1.09 KB
patch
obsolete
>Index: dom/org/eclipse/jdt/core/dom/TypeBinding.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java,v >retrieving revision 1.103 >diff -u -r1.103 TypeBinding.java >--- dom/org/eclipse/jdt/core/dom/TypeBinding.java 14 Jun 2005 15:41:19 -0000 1.103 >+++ dom/org/eclipse/jdt/core/dom/TypeBinding.java 15 Jun 2005 11:32:50 -0000 >@@ -374,13 +374,15 @@ > } > > private JavaElement getUnresolvedJavaElement() { >- org.eclipse.jdt.internal.compiler.lookup.TypeBinding typeBinding = this.binding; >+ return getUnresolvedJavaElement(this.binding); >+ } >+ private JavaElement getUnresolvedJavaElement(org.eclipse.jdt.internal.compiler.lookup.TypeBinding typeBinding ) { > if (typeBinding == null) > return null; > switch (typeBinding.kind()) { > case Binding.ARRAY_TYPE : > typeBinding = ((ArrayBinding) typeBinding).leafComponentType(); >- break; >+ return getUnresolvedJavaElement(typeBinding); > case Binding.BASE_TYPE : > case Binding.WILDCARD_TYPE : > return null;
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 100142
: 23166 |
23167