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 66520 Details for
Bug 186189
NPE trying to open the following class using the ASTView
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_186189.txt (text/plain), 999 bytes, created by
Olivier Thomann
on 2007-05-09 13:35:53 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-05-09 13:35:53 EDT
Size:
999 bytes
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.130 >diff -u -r1.130 TypeBinding.java >--- dom/org/eclipse/jdt/core/dom/TypeBinding.java 19 Apr 2007 14:22:26 -0000 1.130 >+++ dom/org/eclipse/jdt/core/dom/TypeBinding.java 9 May 2007 17:33:39 -0000 >@@ -121,7 +121,9 @@ > * @since 3.0 > */ > public String getBinaryName() { >- if (this.binding.isTypeVariable()) { >+ if (this.binding.isCapture()) { >+ return null; // no binary name for capture binding >+ } else if (this.binding.isTypeVariable()) { > TypeVariableBinding typeVariableBinding = (TypeVariableBinding) this.binding; > org.eclipse.jdt.internal.compiler.lookup.Binding declaring = typeVariableBinding.declaringElement; > StringBuffer binaryName = new StringBuffer();
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 186189
: 66520