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

Using AWT in a seperate thread creashes VM on Solaris

XMLWordPrintable

    • sparc
    • solaris_2.5.1



      Name: laC46010 Date: 08/28/97



      JDK 1.2alpha2 crashes if awt is used in a separate thread.
      When example "Test.java" (see source below) is executed, it
      crashes JVM:

      > java -version
      java version "1.2_EA2"
      > java -fullversion
      java full version "JDK1.2I"
      > javac -d . Test.java
      > java Test
      Segmentation Fault (core dumped)
      >

      Note that Bug Id 4069234 reports apparently the same problem.

      --------------------Test.java----------------------
      public class Test extends Thread {
      public static void main(String[] argv) {
      new Test().start();
      }
      public void run() {
      new java.awt.Frame().show();
      }
      }
      --------------------------------------------------------------------------------

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

            mbronsonsunw Mike Bronson (Inactive)
            leosunw Leo Leo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: