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

Different result of OutputStreamWriter among JDK version in 1.4.2

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 1.4.2_12
    • core-libs

      The results of OutputStreamWriter are different between 1.3.1 and 1.4.2.

      CONFIGURATION:
       - JRE : 1.3.1_16/1.4.2_11/5.0u6/Mustang
       - OS : WindowsXP(SP2, Japanese)

      REPRODUCE :
       1) Comple the attached test Program and Launch "java OSW"
       
      RESULTS:
        In 1.3.1_16
          K:\shares2\javamail-incorrect-string>java OSW
          1b 24 42 46 7c 4b 5c 38 6c 1b 28 42
        In 1.4.2_11(5.0u6 and Mustang also)
          K:\shares2\javamail-incorrect-string>java OSW
          1b 24 42 46 7c 4b 5c 38 6c

      NOTE :
        - The result in 1.4.0 and 1.4.1 are the same to that in 1.3.1_16.
          Some change seems done in 1.4.2.
        - The result in 1.3.1_16,
          1b 24 42 46 7c 4b 5c 38 6c 1b 28 42
                                     ^^^^^^^^
           The last 3 char. codes are JIS shift out escape sequence.

            sherman Xueming Shen
            tbaba Tadayuki Baba (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: