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

Assertion failure in awt_TopLevel.c

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.2
    • 1.4.1
    • client-libs
    • None
    • mantis
    • sparc
    • solaris_7



      Name: dmR10075 Date: 08/30/2002



      Use the following test case:
      import java.awt.*;

      public class Test {
          public static void main(String[] args) {
              Frame f = new Frame("Frame");
              Window w = new Window(f);
              f.setVisible(true);
              w.setVisible(true);
              try {
                  Thread.sleep(1000);
              } catch( Exception e ) {
              }
              f.dispose();
              w.dispose();
          }
      }

      to reproduce the problem.
      1. Compile and run the test with java_g
      2. Program will exit with Assertion failure message.
      Assert fail in file ../../../src/solaris/native/sun/awt/awt_TopLevel.c, line 2164
              toplevel != NULL
      Assertion failed: FALSE, file ../../../src/share/native/sun/awt/debug/debug_assert.c, line 24

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

            dmikhalksunw Denis Mikhalkin (Inactive)
            domsunw Dom Dom (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: