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

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

XMLWordPrintable

    • 1.1fcs
    • x86
    • windows_95
    • Not verified


      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);
      }
      }

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: