Is it finally time to remove the sun.io converters?
Alan.Bateman at oracle.com
Tue Jun 14 01:25:48 PDT 2011
Ulf Zibis wrote:
> As replacement for the 323 classes in original sun.io you could use my
> wrapper classes:
> There remain only 8 classes.
I think this should be backup, as in a plan B. The JDK documentation has
always warned developers not to use sun.* APIs. javac has even emitted
warnings since the symbol file mechanism was added (jdk6?). In the case
of sun.io then there's been a better solution (java.nio.charsets) since
1.4 and so folks have had nearly 9 years to move. They will have at
least 10 or more years by the time that jdk8 ships. With modules coming
in jdk8 then it seems a good opportunity to move on this.
More information about the core-libs-dev