Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4948149

(cs) deprecate old sun.io converters

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b30
    • CPU:
      generic
    • OS:
      generic

      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

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iris Iris Clark
              Reporter:
              iris Iris Clark
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: