-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P2
-
Affects Version/s: 6u12
-
Component/s: client-libs
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2172058 | 7 | Anthony Petrov | P2 | Closed | Fixed | b55 |
I have a frame which contains a button. Pressing on the button shows a dialog. When i press the escape key on the dialog , the dialog gets closed but parent is not getting the focus. This happens only if program is started with -Djava.security.manager. It works fine if security option is not applied. This works fine even in 6u10 with the security option, but fails from 6u10 b01 & b02 promoted build. Hence its a regression.
Step to reproduce:-
-------------------
1) Run the attached porogram.
java -Djava.security.manager WindowTest
2) Click the button on the frame. A dialog is seen.
3)Press 'Escape' key, Dialog gets closed. But Observe that focus is not on the button of the frame. If you see the same , then the bug is reproduced.
Step to reproduce:-
-------------------
1) Run the attached porogram.
java -Djava.security.manager WindowTest
2) Click the button on the frame. A dialog is seen.
3)Press 'Escape' key, Dialog gets closed. But Observe that focus is not on the button of the frame. If you see the same , then the bug is reproduced.
- backported by
-
JDK-2172058 Parent dn't get the focus after dialog is closed if security warning is applied
-
- Closed
-
- relates to
-
JDK-6799415 PIT : Parent dn't gain the focus when dialog is closed faster by pressing ESCAPE key
-
- Open
-