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

Damon Nguyen dnguyen at openjdk.org
Thu Jul 24 15:28:04 UTC 2025


On Thu, 17 Jul 2025 02:28:13 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> > > 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..
> > 
> > 
> > I ran into the same issue when I previously checked this. I can submit a Nimbus issue afterwards if needed. Wanted to handle the test here first.
> 
> But you are handling the test failure by just omitting Nimbus run, which is not the way to go about it in my opinion..

I have gone through the changes again and in converting the test, nothing Nimbus specific was touched. I can't re-run the old test due to its reliance on Applet. When converting the test, I don't believe anyone, including myself, tested it on Nimbus since the test doesn't cycle thru all LAFs. The error in Nimbus only seems to be due to `cellRect` sizing not matching `visRect`. I don't see how that's related to the changes in this test, and rather may be a Nimbus issue.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/26165#issuecomment-3113906220


More information about the client-libs-dev mailing list