Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6920544

test/closed/sun/nio/cs/mapping/TestConvSunIO.java fails with UnsupportedEncodingException: SJIS_0213

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7
    • 7
    • core-libs
    • None

      test/closed/sun/nio/cs/mapping/TestConvSunIO.java is failing with jdk7 b79 on Solaris. It appears this test has been failing for a long time.

      $ java TestConvSunIO

      :

      Checking MS936...
      [Testing internal (sun.io) converter implementation]
      OK.

      Checking Cp1251...
      [Testing internal (sun.io) converter implementation]
      OK.
      Exception in thread "main" java.io.UnsupportedEncodingException: SJIS_0213
              at sun.io.Converters.getConverterClass(Converters.java:235)
              at sun.io.Converters.newConverter(Converters.java:268)
              at sun.io.ByteToCharConverter.getConverter(ByteToCharConverter.java:86)
              at TestConvSunIO.check(TestConvSunIO.java:67)
              at TestConvSunIO.main(TestConvSunIO.java:45)

            sherman Xueming Shen
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: