|
Quick Lists
|
|
Bug ID:
|
6784193
|
|
Votes
|
0
|
|
Synopsis
|
Regression: Window dispose() calls hide() instead of setVisible(false)
|
|
Category
|
java:classes_awt
|
|
Reported Against
|
|
|
Release Fixed
|
|
|
State
|
11-Closed,
Will Not Fix,
bug
|
|
Priority:
|
3-Medium
|
|
Related Bugs
|
4328086
,
4470152
|
|
Submit Date
|
11-DEC-2008
|
|
Description
|
J2SE Version (please include all output from java -version flag):
java version "1.6.0_11"
Java(TM) SE Runtime Environment (build 1.6.0_11-b03)
Java HotSpot(TM) Client VM (build 11.0-b16, mixed mode, sharing)
Does this problem occur on J2SE 5.0.x or 6.0? Yes / No (pick one)
Yes
Operating System Configuration Information (be specific):
customer Windows XP [Version 5.1.2600]
Bug Description:
Regression: Window dispose() calls hide() instead of setVisible(false)
This is a duplicate of 4328086 and possibly a regression from 1.4 since that bug report claims to have fixed this bug in 1.4 and yet we can see it in 1.6.
Window.java line 994 is calling the deprecated method Window.hide() instead of setVisible(false).
Posted Date : 2008-12-11 20:46:03.0
|
|
Work Around
|
N/A
|
|
Evaluation
|
The overriden setVisible(arg) method is expected to be invoked. That's a regression from JDK1.4 though didn't try to find the reason for that change.
Posted Date : 2008-12-12 09:22:10.0
Calling setVisible() instead of hide() is a backward-incompatible change. This change may break existing AWT applications. So I believe that it's better to close the bug as "Will not fix". There are several CRs on this change - 4470152 (rollbacks the changes for 4328086), 4828041.
Posted Date : 2009-01-29 10:32:10.0
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |