Calling method hide() on a modal dialog's parent causes the left frame freeze. No event goes through for the frame. This is a problem on Solaris only with JDK1.2fcs.
Run test case in directory test/java/awt/Dialog/NestedDialogTest:
1) Start the test case, there are two frames: frame0 and frame1.
2) Click Dialog button on frame0 to bring up a modal dialog.
3) Select frame0 in the list on the modal dialog.
4) Click Hide button on the modal dialog.
Now both frame0 and the modal dialog are hidden, but clicking on frame1 always giving beep.
Run test case in directory test/java/awt/Dialog/NestedDialogTest:
1) Start the test case, there are two frames: frame0 and frame1.
2) Click Dialog button on frame0 to bring up a modal dialog.
3) Select frame0 in the list on the modal dialog.
4) Click Hide button on the modal dialog.
Now both frame0 and the modal dialog are hidden, but clicking on frame1 always giving beep.
- duplicates
-
JDK-4119383 Deadlock between modal dialog and Container.add()
- Resolved