This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Bug 9861 and Java 5 Generics


> Could you point to summary of why we need return types?  Is it for
> generics, or for co-variant return types, or both?
It is for both in that the generics compilers use co-variant return
types "under the covers" in order to do their thing.  Sun calls them
synthetic methods, I think.  The bug listing has an example.

TJ


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]