Thanks for fixing this!
The webrev is at
http://cr.openjdk.java.net/~sherman/4153167/webrev
You probably don't need to malloc 64 bytes for a string that's
going to be less than 16 bytes. And shouldn't you use snprintf
in any event?
Unlike Unix, I assume Windows has no way to have multiple "
hough.
I think it's a correct fix, not a workaround, to create a filter stream to deal
with stateful encodings with the java.io API. If it's OK to support only 1.4 and
later, the java.nio.charset API should be used.
Thanks,
Masayoshi
On 2/10/2012 4:12 AM, Xueming Shen wrote:
CC