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
======================================================================