-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
6
-
x86
-
linux
FULL PRODUCT VERSION :
Linux thee 2.6.15-27-k7 #1 SMP PREEMPT Fri Dec 8 18:22:01 UTC 2006 i686 GNU/Linux
[kees]# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux thee 2.6.15-27-k7 #1 SMP PREEMPT Fri Dec 8 18:22:01 UTC 2006 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
JColorChooser.showDialog(COmponent component, String title, Color initialColor)
has a memoryleak.
It calls dialog.show() but it never disposes of that dialog.
After the dialog.show() it should call dialog.dispose();
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just look at the code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no memory leaks
ACTUAL -
memory leak
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Do not use JColorChooser.showDialog() but create your own
Linux thee 2.6.15-27-k7 #1 SMP PREEMPT Fri Dec 8 18:22:01 UTC 2006 i686 GNU/Linux
[kees]# java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux thee 2.6.15-27-k7 #1 SMP PREEMPT Fri Dec 8 18:22:01 UTC 2006 i686 GNU/Linux
A DESCRIPTION OF THE PROBLEM :
JColorChooser.showDialog(COmponent component, String title, Color initialColor)
has a memoryleak.
It calls dialog.show() but it never disposes of that dialog.
After the dialog.show() it should call dialog.dispose();
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Just look at the code.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
no memory leaks
ACTUAL -
memory leak
REPRODUCIBILITY :
This bug can be reproduced always.
CUSTOMER SUBMITTED WORKAROUND :
Do not use JColorChooser.showDialog() but create your own