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 140015 Details for
Bug 280134
[1.5][compiler] Requesting Java AST from selection has encountered a problem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
patch.txt (text/plain), 1.09 KB, created by
Kent Johnson
on 2009-06-24 14:17:44 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Kent Johnson
Created:
2009-06-24 14:17:44 EDT
Size:
1.09 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java,v >retrieving revision 1.75 >diff -u -r1.75 WildcardBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java 14 May 2009 14:50:31 -0000 1.75 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java 24 Jun 2009 18:18:59 -0000 >@@ -386,7 +386,10 @@ > if (this.otherBounds == null) { > if (this.boundKind == Wildcard.EXTENDS) > return this.bound.erasure(); >- return typeVariable().erasure(); >+ TypeVariableBinding var = typeVariable(); >+ if (var != null) >+ return var.erasure(); >+ return this.genericType; // if typeVariable() == null, then its inconsistent & return this.genericType to avoid NPE case > } > // intersection type > return this.bound.id == TypeIds.T_JavaLangObject
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 280134
:
139065
|
139194
|
139196
| 140015