-
Enhancement
-
Resolution: Fixed
-
P4
-
7
-
b37
-
generic
-
generic
-
Not verified
It would be desirable to retrofit CharBuffer to take advantage of covariant returns. Specifically, CharBuffer implements CharSequence and the subSequence method can be safely changed to return the more specific type, see Martin's proposal at:
http://mail.openjdk.java.net/pipermail/core-libs-dev/2008-July/000596.html
http://mail.openjdk.java.net/pipermail/core-libs-dev/2008-July/000596.html
- relates to
-
JDK-4774077 Use covariant return types in the NIO buffer hierarchy
-
- Closed
-