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 269820 Details for
Bug 520916
[1.8][inference] Contrived Generics Fails to Compile
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Failing class
file_520916.txt (text/plain), 583 bytes, created by
Michael D
on 2017-08-12 23:09:51 EDT
(
hide
)
Description:
Failing class
Filename:
MIME Type:
Creator:
Michael D
Created:
2017-08-12 23:09:51 EDT
Size:
583 bytes
patch
obsolete
>package net.md_5; > >import java.util.Iterator; > >public class Test >{ > > public interface ITest > { > } > > public void problem() > { > Object list = null; > > concat( array( new Test[ 0 ] ), method( (Iterable) list ) ); > } > > public static <T> Iterator<T> concat(Iterator<? extends T> a, Iterator<? extends T> b) > { > return null; > } > > public static <T> Iterator<T> array(T[] array) > { > return null; > } > > public Iterator<ITest> method(Iterable<ITest> iterable) > { > return null; > } >}
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 520916
: 269820