JDK-4952584 : Convert use of old sun.io APIs into new java.nio.charset APIs
  • Type: Bug
  • Component: client-libs
  • Sub-Component: javax.swing
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-11-12
  • Updated: 2003-12-15
  • Resolved: 2003-12-15
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 b32Fixed
Related Reports
Relates :  
Relates :  
Description
In Mustang, we plan to remove sun.io.  The contents of this internal API have
been deprecated in favor of java.nio.charset which was introduced in Merlin.
As of Tiger, the old sun.io converters redirect to the new API.  Use of
the old converters will result in a deprecation warning at compile time.

The following list of files from the j2se workspace have been identified as
depending on sun.io:

  src/share/classes/javax/swing/text/html/parser/DocumentParser.java
 
These files (and any others which use sun.io) need to be converted to use the
new java.nio APIs by feature freeze of Mustang (at the very latest).

Via grep and eyeball examination, I have been unable to determine why this
file requires the import of sun.io.  The fix for this bug may be to simply
remove the unnecessary import.

-- iag@sfbay 2003-11-11

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

EVALUATION sun.io was used for no reason. removing that line
11-06-2004