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
Prasanta Sadhukhan
psadhukhan at openjdk.org
Fri Jul 18 18:27:50 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.
What exactly is the failure thrown in Nimbus L&F? JBS says `PassFailJFrame.forceFail `is called
>From my running it seems the failure is `"java.lang.RuntimeException: leading cell is not aligned"`
It can be a genuine issue for Nimbus since it behaves ok for other L&F..
ANyways, add the bugid to this PR
-------------
PR Comment: https://git.openjdk.org/jdk/pull/26165#issuecomment-3048801821
PR Comment: https://git.openjdk.org/jdk/pull/26165#issuecomment-3082229021
More information about the client-libs-dev
mailing list