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

remove uses of sun.io in sun.tools.*

XMLWordPrintable

    • tiger
    • generic
    • generic

      The ideal fix for this bug
       
        4454622 (cs) Most character conversion clients do not use NIO API

      is to get rid of sun.io entirely. Unfortunately, due to constraints
      beyond my control, we will be unable to do so in Tiger. The fall-back
      plan is to produce deprecation warnings when these files are used and
      remove as many uses of the files in the j2se workspace as is feasible.
      The package will be removed in mustang.

      A quick search for all occurrences of "sun.io" reveals that there
      three trivial uses in sun/tools:

        src/share/classes/sun/tools/tree/AddExpression.java
          -- reference in comments only
        src/share/classes/sun/tools/javac/BatchEnvironment.java
          -- unnecessary import
        src/share/classes/sun/tools/java/ScannerInputReader.java
          -- exception handling for MalformedInputException, should be changed
             to java.io.CharConversionException

      If you have any questions, please don't hesitate to contact me.

      Thanks,
      -- iag@sfbay 2003-07-08

            peterjones Peter Jones (Inactive)
            iris Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: