On Wed, 1 Oct 2025 00:13:54 GMT, Sergey Bylokhov <[email protected]> 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 42: > >> 40: * @summary Tests that disposing of a Frame with MenuBar removes all >> traces >> 41: * of the Frame from the screen. >> 42: * @run main/othervm -Dsun.java2d.uiScale=1 DisposeTest > > Why do you need to set scale factor=1, does the default break something? It doesn't break as such but based on my observation a couple of previous test on windows fail when there is fractional scaling + color comparison at edges. Set the uiScale to 1 to make the test robust. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/27585#discussion_r2393153313
