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 28094 Details for
Bug 112109
Compilation problem: Eclipse does not recognise parametrized notify-method in generic context
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
The test program
NotifyMethodProblem.java (text/plain), 467 bytes, created by
Volker Renneberg
on 2005-10-10 08:23:33 EDT
(
hide
)
Description:
The test program
Filename:
MIME Type:
Creator:
Volker Renneberg
Created:
2005-10-10 08:23:33 EDT
Size:
467 bytes
patch
obsolete
>import java.util.List; > >public class NotifyMethodProblem { > public static interface Notifyable { > public Object notify(Object msg); > } > > public static class InnerClass<C extends Notifyable> { > private List<C> list; > > public InnerClass() { > // *** Here: the notify-method is not available > this.list.get(0).notify(null); > > ((Notifyable) this.list.get(0)).notify(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 112109
: 28094