RFR: 8359430: Test 'javax/swing/plaf/windows/bug4991587.java' automatically failed on Windows 2025 x64 with message "Failed. Compilation failed: Compilation failed"
Sergey Bylokhov
serb at openjdk.org
Wed Jun 18 22:31:30 UTC 2025
On Wed, 18 Jun 2025 19:28:18 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:
> Compilation error on windows with `WindowsButtonUI` used. Replaced it with `BasicButtonUI` to maintain overriding the `paintText` method but this was not the same as Windows L&F buttons. I attempted to import `WindowsButtonUI` and extending it, but the class is `final`. Instead, I chose to add a LineBorder in the same way as when a Rectangle was drawn to keep the same test behavior. It seems the extra 1 pixel width is unnecessary now when testing, so the changes only include removing `MyButtonUI` and adding a LineBorder.
Please confirm that you can reproduce JDK-4991587 by the updated test.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/25883#issuecomment-2985890870
More information about the client-libs-dev
mailing list