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

GS-Tonga(javatextutil.ttl) SupportedEncodingsTest.java fails on some of the encodings

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P4 P4
    • None
    • 1.4.0
    • core-libs

      The SupportedEncodingsTest.java, which tests the availability of encoder/decoder for the encodings which are supposed to be supported by jdk1.4 .
      This test fails on follwing encodings
         SO2022CN, ISO2022CN_CNS, ISO2022CN_GB, and JISAutoDetect

      The error thrown is as follwoing
      --------------------------------------------------------------------------------
         ----------System.err:(20/1238)----------
      encoder ISO2022CN not available
      decoder ISO2022CN_CNS not available
      decoder ISO2022CN_GB not available
      encoder JISAutoDetect not available
      java.lang.RuntimeException: Test failed on encodings ::ISO2022CN,ISO2022CN_CNS,ISO2022CN_GB,JISAutoDetect,
              at EncoderDecoderTest.SupportedEncodingsTest(EncoderDecoderTest.java:315)
              at EncoderDecoderTest.test(EncoderDecoderTest.java:46)
              at EncoderDecoderTest.<init>(EncoderDecoderTest.java:38)
              at SupportedEncodingsTest.main(SupportedEncodingsTest.java:11)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:42)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:28)
              at java.lang.reflect.Method.invoke(Method.java:327)
              at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
              at java.lang.Thread.run(Thread.java:539)

      ------------------------------------------------------------------------------

            ilittlesunw Ian Little (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: