JDK-4803880 : (cs) Remove hacks that force use of sun.io PCK converters
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 1.4.2
  • Priority: P2
  • Status: Closed
  • Resolution: Duplicate
  • OS: generic
  • CPU: generic
  • Submitted: 2003-01-15
  • Updated: 2003-11-16
  • Resolved: 2003-11-16
Related Reports
Duplicate :  
Relates :  
Description
As part of the fix for 4765370 we added special-case code to the
java.lang.StringCoding and sun.nio.cs.Stream{De,En}coder classes
that force the use of the sun.io PCK converters in preference to
the NIO PCK charset, which in 1.4.1 and 1.4.2 is just the SJIS
charset.

These hacks must be removed in 1.5, otherwise the planned true PCK
charset for NIO will not be used by the String or java.io classes.

-- ###@###.### 2003/1/15

Comments
EVALUATION Yes. -- ###@###.### 2003/1/15
01-11-0181