[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/23742] New: OutputStreamWriter should not use reset()
From: |
tromey at gcc dot gnu dot org |
Subject: |
[Bug classpath/23742] New: OutputStreamWriter should not use reset() |
Date: |
5 Sep 2005 21:11:24 -0000 |
Currently, OutputStreamWriter calls reset() on the character set
encoder. I think this is wrong. In particular I think this will
cause the wrong results in some situations for a stateful encoding.
When this code is removed, the special cases for various UTF-16
character sets in the constructor can also be removed. This in
turn will make it simpler to implement the missing constructors.
I believe a similar problem exists for InputStreamReader.
--
Summary: OutputStreamWriter should not use reset()
Product: classpath
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: tromey at gcc dot gnu dot org
CC: bug-classpath at gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23742
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/23742] New: OutputStreamWriter should not use reset(),
tromey at gcc dot gnu dot org <=