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

Inputting Japanese characters on JTextArea/JTextField causes Abort on Linux

XMLWordPrintable

    • 2d
    • beta
    • x86
    • linux
    • Verified


      Tested with Merlin-beta b50 on RedHatLinux 6.2J.

      Inputting Japanese characters on JTextArea/JTextField makes application abort and an error report file is created.

      To reproduce,

      1. Compile an attached test case "JTextFieldTest.java".
      2. Launch "JTextFieldTest.
      3. Activate Japanese IM (Shift + space).
      4. Input some Japanese characters.

      or

      1. Launch NotePad demo ($JAVAHOME/demo/jfc/Notepad/Notepad.jar)
      2. Activate Japanese IM (Shift + space).
      3. Input some Japanese characters.

      Entering some Japanese characters, the case aborts at once and an error report is dispalyed on terminal( it is saved to a file).

      Error reports files are attached as hs_err_pid6022.Notepad.log for Notepad case and hs_err_pid6517.JTextField.log for JTextField case.


      Ascii characters can be inputted without any error.

      This problem does not occur on Solaris or Windows.
      This problem is seen in b49 also on RedHatLinux 6.2J.

      ================================================================================

       - check if the bug is reproducible on Linux 6.1 in your environment on b50 and
         b51
      The bug is reproducible on Linux6.1 on both of b50 and b 51.

       - check is the bug is reproducible on b51
      Same as above

       - how much ja text needs to be entered for crash to occur
      Inputting only one japanese character is enough for crash.

      Java2D demo works well both of b51 and b51.
      No crash occurs.


      miki.tokunaga@japan 2001-02-14
      ================================================================================

      The fix is verified with Merlin-beta b56.

      miki.tokunaga@japan 2001-03-21
      ================================================================================

            tdv Dmitri Trembovetski (Inactive)
            mmtokunasunw Mtokunaga Mtokunaga (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: