Scanner.create should call Charset.default() instead of sun.io api

XMLWordPrintable

    • b30
    • generic
    • generic

      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

            Assignee:
            Michael Mccloskey (Inactive)
            Reporter:
            Iris Clark
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: