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 41118 Details for
Bug 141252
[1.6]][compiler] ClassFormatError: Illegal class name "" in class file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Better patch
141252.txt (text/plain), 1.55 KB, created by
Philipe Mulet
on 2006-05-11 10:31:10 EDT
(
hide
)
Description:
Better patch
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2006-05-11 10:31:10 EDT
Size:
1.55 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.52 >diff -u -r1.52 WildcardBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java 20 Apr 2006 07:29:03 -0000 1.52 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/WildcardBinding.java 11 May 2006 14:33:27 -0000 >@@ -290,6 +290,13 @@ > } > > /** >+ * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#constantPoolName() >+ */ >+ public char[] constantPoolName() { >+ return this.erasure().constantPoolName(); >+ } >+ >+ /** > * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#debugName() > */ > public String debugName() { >@@ -300,9 +307,15 @@ > * @see org.eclipse.jdt.internal.compiler.lookup.TypeBinding#erasure() > */ > public TypeBinding erasure() { >- if (this.boundKind == Wildcard.EXTENDS) >- return this.bound.erasure(); >- return typeVariable().erasure(); >+ if (this.otherBounds == null) { >+ if (this.boundKind == Wildcard.EXTENDS) >+ return this.bound.erasure(); >+ return typeVariable().erasure(); >+ } >+ // intersection type >+ return this.bound.id == TypeIds.T_JavaLangObject >+ ? this.otherBounds[0].erasure() >+ : this.bound.erasure(); > } > > /* (non-Javadoc)
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 141252
:
41095
|
41100
|
41102
| 41118