<Swing Dev> [14] RFR JDK-8234149:Several regression tests do not dispose Frame at end
Prasanta Sadhukhan
prasanta.sadhukhan at oracle.com
Thu Nov 14 08:56:16 UTC 2019
Hi All,
Please review a fix for an issue seen in several tests where the JFrame
created is not disposed of at all code paths.
This sometimes leaves some artifacts thereby affecting execution of
subsequent tests, causing those to fail.
Proposed fix is to make sure the JFrame is disposed in try-finally block
to ensure frame is disposed irrespective of execution outcome of the test.
This list is not exhaustive as there are still some tests it is not
covered here and
I have not taken care of indentation to ensure only the
change/modification is highlighted and not all indented lines.
Mach5 status link is there in JBS.
Bug: https://bugs.openjdk.java.net/browse/JDK-8234149
webrev: http://cr.openjdk.java.net/~psadhukhan/8234149/webrev.0/
Regards
Prasanta
More information about the swing-dev
mailing list