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

Button.setLabel("\u2192") cause crash on Win95

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1fcs
    • CPU:
      x86
    • OS:
      windows_95
    • Verification:
      Not verified

      Description


      masayoshi.okutsu@Eng 1996-12-20
      Button.setLabel("\u2192") cause crash on Japanese Windows95.
      The following program reproduce the problem.

      import java.awt.*;

      public class jap007e21 extends Frame {
      Button bSet, bExit;

      public static void main(String [] arg) {
      new jap007e21();
      }

      jap007e21() {
      super("Abend");
      initialSystem();
      construct(); //NG;
      endSystem();
      }

      protected void initialSystem() {
      reshape(10, 10, 200, 100);
      setLayout(new FlowLayout(10));
      }

      /////// NG
      private void construct() {
      //add(bSet = new Button("- -")); //OK,
      add(bSet = new Button("- \u2192 -")); //NG,
      add(bExit = new Button("- \u9589\u3058\u308b -"));
      show();
      }

      protected void endSystem() {
      System.out.println("Test End");
      dispose();
      System.exit(0);
      }
      }

        Attachments

          Activity

            People

            Assignee:
            nishimur Naoyuki Ishimura (Inactive)
            Reporter:
            okutsu Masayoshi Okutsu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: