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

118[Sol7] Hang when dispaying \u0080 in the title bar on ja_JP.UTF-8

    XMLWordPrintable

    Details

      Description

      When trying to display \u0080 on the title bar of the window,
      the program hangs up.

      Configuration:
      JDK1.1.8 build "C"
      Solaris 7, CDE1.3, ja_JP.UTF-8

      This program works file on ja locale (EUC).

      How to reproduce:

      1) compile ViewTitleBar.java

      import java.awt.*;
      import java.awt.event.*;

      public class ViewTitleBar extends Frame implements ActionListener {
        Button bQuit;

        public ViewTitleBar() {
          super("ViewTitleBar");
          add(bQuit = new Button("Quit"));
          bQuit.addActionListener(this);
      setTitle("test x0080:\u0080");
        }
       
        public void actionPerformed(ActionEvent evt) {
          if(evt.getSource() == bQuit) System.exit(1);
        }

      2) run ViewTitleBar and got a hang up.


        Attachments

          Activity

            People

            Assignee:
            okutsu Masayoshi Okutsu
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: