RFR: JDK-8365424 : [macos26] java/awt/Frame/DisposeTest.java fails on macOS 26
Harshitha Onkar
honkar at openjdk.org
Wed Oct 1 00:48:38 UTC 2025
On Wed, 1 Oct 2025 00:15:26 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
>> This test fails on macOS 26 due to slight color mismatch at background frame edges. A offset of 4 pixels is added as fix.
>>
>> CI testing passes on other platforms.
>
> test/jdk/java/awt/Frame/DisposeTest.java line 80:
>
>> 78:
>> 79: for (int x = PIXEL_OFFSET; x < bi.getWidth() - PIXEL_OFFSET; x++) {
>> 80: for (int y = PIXEL_OFFSET; y < bi.getHeight() - PIXEL_OFFSET; y++) {
>
> It might be better to increase the size of the background frame so that its edge does not appear under the tested frame.
Currently the backroundFrame is 200x200 and testFrame is 100x100. The difference of 100 seems sufficient for this case.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27585#discussion_r2393161972
More information about the client-libs-dev
mailing list