Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0, 10.6.2.1, 10.7.1.1, 10.8.1.2
-
None
Description
DDMWriter has two calls to CharsetEncoder.encode(), in writeLDString() and writeString(). According to the javadoc for CharsetEncoder, one should call reset() before one calls encode(), and flush() after on. DDMWriter doesn't call reset() or flush(). I'm not aware of any problems that happen because of it, but we should follow the spec to avoid surprises.
Attachments
Attachments
Issue Links
- relates to
-
DERBY-2936 Use java.nio.ByteBuffer for buffering in DDMWriter
- Closed