RFR: 8359416: Test 'javax/swing/JScrollPane/AcceleratedWheelScrolling/HorizScrollers.java' failed on Windows 2025 x64 because there is a failure frame while the test case is running
Tejesh R
tr at openjdk.org
Fri Jul 18 18:27:51 UTC 2025
On Mon, 7 Jul 2025 16:51:58 GMT, Damon Nguyen <dnguyen at openjdk.org> wrote:
> This test only fails in the automated portion on Windows with Nimbus LAF. The failure message is always that the leading cell is not aligned, but I see no obvious issues with the UI when testing myself. The test fails in older JDK versions as well. The original test relies on applet and cannot be run exactly, but this test was previously converted to remove all applet usage in [JDK-8354695](https://bugs.openjdk.org/browse/JDK-8354695). Since this test still fails on older JDKs and is not a regression, I chose to skip the test specifically for Nimbus LAF. I suspect this is better than ProblemListing the test for Windows since the test only fails on Windows if Nimbus LAF is used.
>
> I also removed the automated failing of the test to allow the user to see the failure message before the test closes. Test instructions are updated to align with this.
test/jdk/javax/swing/JScrollPane/AcceleratedWheelScrolling/HorizScrollers.java line 72:
> 70: checkNimbusLaf();
> 71: PassFailJFrame.builder()
> 72: .title("HorizScrollers Instructions")
Title can be removed.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26165#discussion_r2203881155
More information about the client-libs-dev
mailing list