In Mustang, we plan to remove sun.io. The newly introduced Scanner should not
depend on this old api if possible.
I believe that this is the change that needs to be made:
old:
String defaultCharsetName = Converters.getDefaultEncodingName();
new:
String defaultCharsetName = java.nio.charset.Charset.defaultCharset().name()
-- iag@sfbay 2003-11-03
depend on this old api if possible.
I believe that this is the change that needs to be made:
old:
String defaultCharsetName = Converters.getDefaultEncodingName();
new:
String defaultCharsetName = java.nio.charset.Charset.defaultCharset().name()
-- iag@sfbay 2003-11-03
- relates to
-
JDK-4454622 (cs) Most character conversion clients do not use NIO API
- Resolved