-
Bug
-
Resolution: Fixed
-
P2
-
5.0
-
b30
-
generic
-
generic
4880535 and 4909445 changed the specs of JFrame.setDefaultCloseOperation() and JDialog.setDefaultCloseOperation() to allow for some flexibility as to how the window manager can deal with DO_NOTHING_ON_CLOSE. This was necessitated by a known bug in the Metacity platform where it would always obscure the window even if the app chose to do nothing.
The documentation of these methods has specified for a long time that DO_NOTHING_ON_CLOSE does "nothing". It is therefore incorrect to change them at this point to allow for different behavior on different platforms.
Instead, a work-around should be devised until Metacity has been fixed.
- The CCC requests for 4880535 and 4909445 should be withdrawn and we should notify those who are currently tasked with modifying the failing regression tests (since they will continue to be valid tests).
- The docs of the aforementioned methods should be restored.
- The evaluation of those bugs should be updated to state that the fixes have been pulled.
- Lastly, all failing tests brought forth in those bugs should be tested against whatever work-around we devise.
The documentation of these methods has specified for a long time that DO_NOTHING_ON_CLOSE does "nothing". It is therefore incorrect to change them at this point to allow for different behavior on different platforms.
Instead, a work-around should be devised until Metacity has been fixed.
- The CCC requests for 4880535 and 4909445 should be withdrawn and we should notify those who are currently tasked with modifying the failing regression tests (since they will continue to be valid tests).
- The docs of the aforementioned methods should be restored.
- The evaluation of those bugs should be updated to state that the fixes have been pulled.
- Lastly, all failing tests brought forth in those bugs should be tested against whatever work-around we devise.
- relates to
-
JDK-4880535 JFrame spec should clarify behavior of setDefaultCloseOperation() method
- Resolved
-
JDK-4909445 REGRESSION: api/javax_swing/interactive/JDialogTests.html#JDialog fails
- Closed