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

Simple program crashed on Win95 w/ 16 colors

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.1.3
    • client-libs
    • None
    • generic
    • solaris_2.5


      xiangyun.kong@Eng 1997-07-22

      A friend of mine at Aimquest claims that the following simple Java program
      will crash on Win95 with JDK1.1.3 installed, and colors set to 16 colors.

      import java.awt.image.*;
      import java.awt.*;

      public class javabug{
              public static void main(String args[]){
                 try{
                      System.err.println("00000000");
                      Toolkit tk=Toolkit.getDefaultToolkit();
                      System.err.println("11111");
                      ColorModel cm=tk.getColorModel();
                      System.err.println("2222222");
                  }catch(Exception e){
                      System.err.println("Exception: "+e);
                  }
              }
      }


            xdengsunw Xianfa Deng (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: