JDK-4887597 : remove uses of sun.io in sun.tools.*
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.rmi
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-07-08
  • Updated: 2003-08-18
  • Resolved: 2003-08-18
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 tigerFixed
Related Reports
Relates :  
Description
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

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger FIXED IN: tiger INTEGRATED IN: tiger tiger-b16
11-08-2004

EVALUATION Ww will do this as part of the fix for 4819896 (as the sun.tools.{asm,java,javac,tree,util} classes move to within the rmic package hierarchy). ###@###.### 2003-07-08
08-07-2003