RFR: 8298921: Create a regression test for JDK-8139581

Srinivas Mandalika smandalika at openjdk.org
Mon Dec 19 08:37:30 UTC 2022


On Fri, 16 Dec 2022 10:21:35 GMT, Srinivas Mandalika <smandalika at openjdk.org> wrote:

> Create a regression test for JDK-8139581
> 
> As described in JDK-8139581, when an AWT panel with AWT components, for example "java.awt.Button", is removed from AWT frame and added again to the same frame, then some AWT components contained in the panel are not drawn, however, clicking in the area of not drawn button leads to drawing of the button.
> 
> Test has a swing and awt component in a panel. It then removes and adds back the panel from/into the frame, to verify that they are repainted back properly.

This review is for migrating tests from a closed test suite to open.
Testing:
The test ran successfully on Mach5 with multiple runs (40) on windows-x64, linux-x64 and macos-x64.

-------------

PR: https://git.openjdk.org/jdk/pull/11707



More information about the client-libs-dev mailing list