Name: diC59631 Date: 06/04/98
I know these are undocumented/unsupported classes,
but ...
1. TelnetOutputStream never clears "seenCR".
It should do this if seenCR is true and '\n'
is seen. The effect in stickyCRLF mode
is that once a CR is seen, every following
input byte gets a null appended to it, e.g.
"\rhello" becomes
"\r\u0000h\u0000e\u0000l\u0000l\u0000o\u0000".
2. TelnetInputStream lacks an API for
setting/clearing stickyCRLF mode.
TelnetOutputStream has one.
3. Both TelnetInputStream and TelnetOutputStream
should have an API for setting/clearing binary mode,
not just a public boolean variable.
These problems have been there unchanged since
JDK 1.0.2 at least.
(Review ID: 33024)
======================================================================