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 54401 Details for
Bug 165620
Regression in 3.3M3 with generics - ambiguous method.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
A code snippet that produces the problem
Tester.java (text/plain), 688 bytes, created by
R Lenard
on 2006-11-23 01:47:37 EST
(
hide
)
Description:
A code snippet that produces the problem
Filename:
MIME Type:
Creator:
R Lenard
Created:
2006-11-23 01:47:37 EST
Size:
688 bytes
patch
obsolete
>import java.util.Collection; > >public final class Tester >{ > public static <V extends Comparable<? super V>> V ffoo(final Iterable<V> a) > { > return null; > } > public static <V extends Comparable<? super V>> V ffoo(final Collection<V> a) > { > return null; > } > > public static <V extends Comparable<? super V>> void test(final Collection<V> a) > { > ffoo(a); > } > > // Non-parameterised is okay. > interface X { > } > > interface Y extends X { > } > > public void ffoo(X a) > { > } > public void ffoo(Y a) > { > } > > public void test2(Y a) > { > ffoo(a); > } >}
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 Raw
Actions:
View
Attachments on
bug 165620
: 54401 |
54419
|
54461