JDK-4952588 : Convert use of old sun.io APIs into new java.nio.charset APIs
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.sql:bridge
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-11-12
  • Updated: 2005-02-28
  • Resolved: 2005-02-28
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.
JDK 6
6 b26Fixed
Related Reports
Relates :  
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/sun/jdbc/odbc/JdbcOdbc.java
  src/share/classes/sun/jdbc/odbc/JdbcOdbcConnection.java
  src/share/classes/sun/jdbc/odbc/JdbcOdbcResultSet.java
  src/share/classes/sun/jdbc/odbc/JdbcOdbcObject.java
  src/share/classes/sun/jdbc/odbc/JdbcOdbcPreparedStatement.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).

-- iag@sfbay 2003-11-11

Comments
EVALUATION This fix will be taken as soon as the process for JDK 1.6 rolls out. ###@###.### 2003-11-12
12-11-2003