EVALUATION
JISAutoDetect is not a supported charset in 1.4.2, whereas in 1.5 it is. If I modify the testcase and use an unsupported charset and run with 1.5, then it takes a longer time in 1.5 also.
So the behavior is same in both 1.4.2 & 1.5 with respect to unsupported charsets.
To avoid this performance bottleneck, we will have to backport support for JISAutoDetect. I will have to check if we can backport this.
###@###.### 2005-2-24 11:43:37 GMT
As per the documentation JISAutoDetect is part of Extended Encoding Set, which is supported only by java.io and java.lang APIs and not by java.nio APIs.
See http://java.sun.com/j2se/1.4.2/docs/guide/intl/encoding.doc.html
Which means, JISAutoDetect is a valid encoding supported by Java but can not be
accessed via the NIO API which the test case does.
It can be closed as not a bug.
###@###.### 2005-04-18 12:37:34 GMT
|