Name: rmT116609 Date: 04/17/2003
A DESCRIPTION OF THE REQUEST :
CharBuffer includes a package-private abstract method, toString(int,int). This effectively precludes making subclasses of CharBuffer in other packages.
It seems useful and legitimate to allow user subclasses of CharBuffer, which may wrap other object types or annotate the CharBuffer with additional state.
EXPECTED VERSUS ACTUAL BEHAVIOR :
If precluding such subclasses is intentional design, a Javadoc note explaining why developers should not create their own CharBuffer subclasses would be appreciated.
If precluding such subclasses is unintentional behavior, please remove the package-private protection on the toString(int,int) method to enable outside subclassing. (It's the only abstract method in CharBuffer so protected.)
(Review ID: 184321)