On Sun, 31 Aug 2025 09:04:28 GMT, Khalid Boulanouare <[email protected]> wrote:
>> 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)
But the frame should be disposed *after* the test is executed, more
specifically in finally block so am still not sure about this addition
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25971#discussion_r2317693101