On Fri, 29 Aug 2025 04:28:58 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> Khalid Boulanouare has updated the pull request incrementally with two 
>> additional commits since the last revision:
>> 
>>  - Disposes frames after each AWT component test
>>  - Removes redundant code for centring frames
>
> test/jdk/java/awt/Mixing/AWT_Mixing/GlassPaneOverlappingTestBase.java line 63:
> 
>> 61:     {
>> 62:         multiFramesTest = false;
>> 63:     }
> 
> what is this for?

The GlassPaneOverlappingTestBase tests are not multi-frame tests, they do not 
use multiple frames where each frame has an AWT component to test Swing with 
that AWT component. If the frame is disposed in the SimpleOverlappingTestBase 
class, the frame will disappear and the test will fail. This applies only the 
the GlassPane tests (extending GlassPaneOverlappingTestBase)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/25971#discussion_r2312344617

Reply via email to