covariant returns for CharBuffer.subSequence
Mark Reinhold
mr at sun.com
Sun Aug 3 04:28:51 UTC 2008
> Date: Sat, 02 Aug 2008 09:01:42 -0500
> From: david.lloyd at redhat.com
> On 08/02/2008 04:54 AM, Ulf Zibis wrote:
>> Some time ago I've discussed this with Neal Gafter. My conclusion is,
>> that those problems could be solved by a "this" return type.
>
> Or just by using covariant return types, which already exist in the
> language for this very purpose. Why is everyone so keen to tear up the
> language, in order to add solutions to problems that already have solutions?
Excellent question!
- Mark
More information about the core-libs-dev
mailing list