-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 5.0, 6
-
Component/s: core-libs
-
b01
-
x86
-
solaris
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2161161 | 5.0u15-rev | Sean Coffey | P3 | Resolved | Fixed | b09 |
JDK implementation of OutputStreamWriter writes incorrect number of characters to file with some encodings. Namely with x-IBM949, x-IBM949C and x-IBM970 encodings writer misses each 8193rd character.
I attached source of an example demonstrating this problem. It writes sequences of digits: 0..9 to a file and if we write for example 8194 digit characters to file we'll see at the end of the file:
...123456789013
i.e. next to last character is missing. And we can see that each character after 8192 correctly written characters is missing.
I attached source of an example demonstrating this problem. It writes sequences of digits: 0..9 to a file and if we write for example 8194 digit characters to file we'll see at the end of the file:
...123456789013
i.e. next to last character is missing. And we can see that each character after 8192 correctly written characters is missing.
- backported by
-
JDK-2161161 OutputStreamWriter writes incorrect number of characters to file with some IBM encodings
-
- Resolved
-
- relates to
-
JDK-5058184 Problems with encoders for IBM933, IBM949, IBM949C, IBM970
-
- Resolved
-