On Mon, 3 Feb 2025 17:45:02 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> test/jdk/javax/swing/JButton/4796987/bug4796987.java line 30: >> >>> 28: * @requires (os.family == "windows") >>> 29: * @summary Verify JButton.setBorderPainted(false) removes border >>> 30: * for Windows visual styles (Windows XP and later) >> >> Is it necessary to mention about Windows XP ? > > Why not? Visual styles were introduced in Windows XP. > > Even though the test was written when both Windows Vista and Windows 7 had > already been released, it was limited to Windows XP only for some reason. Since it will never be tested on Windows XP machine, I thought it's not worth to mention. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/23336#discussion_r1939816320