JDK-4948149 : (cs) deprecate old sun.io converters
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 5.0
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-11-04
  • Updated: 2015-03-04
  • Resolved: 2003-11-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
5.0 b30Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Minimally, the following classes in sun.io need to be deprecated in preparation
for the removal of the sun.io converter implementations in Mustang:

  src/share/classes/sun/io/ByteToCharConverter.java
  src/share/classes/sun/io/CharToByteConverter.java
  src/share/classes/sun/io/CharacterEncoding.java
  src/share/classes/sun/io/Converters.java

Charset support was completely re-written during Merlin (java.nio.charset). 
During Tiger, all of the supported converters were ported to use this new
API (sun.nio.cs).  The exising converter implemenations in sun.io merely
re-direct to the nio implementations.  

We do not recommend further use of sun.io converters.  Several bugs have
been filed to remove use of these converters in various parts of the JDK.
See bug 4454622.

-- iag@sfbay 2003-11-03

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b30 tiger-beta
14-06-2004

EVALUATION Should be fixed for Tiger so that planed removal can occur in Mustang. -- iag@sfbay 2003-11-03 The following exceptions in sun.io have also been deprecated: src/share/classes/sun/io/ConversionBufferFullException.java src/share/classes/sun/io/MalformedInputException.java src/share/classes/sun/io/UnknownCharacterException.java -- iag@sfbay 2003-11-12
12-11-2003