RFR: 8370511: test/jdk/javax/swing/JSlider/bug4382876.java does not release previously pressed keys

Prasanta Sadhukhan psadhukhan at openjdk.org
Fri Oct 24 05:37:03 UTC 2025


On Thu, 23 Oct 2025 19:43:14 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> The test does not release previously pressed keys, which may cause failures in subsequent tests.
> 
> Testing looks good on all platforms.

test/jdk/javax/swing/JSlider/bug4382876.java line 82:

> 80:             });
> 81: 
> 82:             if (upFail) {

`upFail `and `downFail `should be volatile

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27959#discussion_r2458949923


More information about the client-libs-dev mailing list