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 22764 Details for
Bug 99260
[1.5][compiler] Bad bytecode generated with varargs + generics
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD
patch_99260.txt (text/plain), 1.02 KB, created by
Olivier Thomann
on 2005-06-09 20:00:24 EDT
(
hide
)
Description:
Apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-06-09 20:00:24 EDT
Size:
1.02 KB
patch
obsolete
>Index: CodeStream.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/codegen/CodeStream.java,v >retrieving revision 1.108 >diff -u -r1.108 CodeStream.java >--- CodeStream.java 26 May 2005 21:02:13 -0000 1.108 >+++ CodeStream.java 9 Jun 2005 23:59:23 -0000 >@@ -5129,7 +5129,17 @@ > this.newarray(DOUBLE_ARRAY); > break; > default : >- this.anewarray(component); >+ if (component.isWildcard()) { >+ WildcardBinding wildcardBinding = (WildcardBinding) component; >+ final TypeBinding[] wildcardBounds=wildcardBinding.otherBounds; >+ final int boundsLength=wildcardBounds.length; >+ TypeBinding[] bounds = new TypeBinding[boundsLength + 1]; >+ bounds[0] = wildcardBinding.bound; >+ System.arraycopy(wildcardBounds, 0, bounds, 1, boundsLength); >+ this.anewarray(Scope.greaterLowerBound(bounds)[0]); >+ } else { >+ this.anewarray(component); >+ } > } > } > public void newJavaLangError() {
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 99260
:
22762
|
22763
| 22764