RFR: 8370511: test/jdk/javax/swing/JSlider/bug4382876.java does not release previously pressed keys [v2]
Alexander Zvegintsev
azvegint at openjdk.org
Fri Oct 24 09:32:02 UTC 2025
On Fri, 24 Oct 2025 09:26:13 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision:
>>
>> volatile
>
> test/jdk/javax/swing/JSlider/bug4382876.java line 64:
>
>> 62: slider.setComponentOrientation(ComponentOrientation.LEFT_TO_RIGHT);
>> 63: slider.putClientProperty("JSlider.isFilled", Boolean.TRUE);
>> 64: f.add(slider, BorderLayout.CENTER);
>
> also shouldn't we add the component i.e, slider first to frame and then make it visible? here it is made visible and then slider is added..
It doesn't matter as we wait long enough, it should work both ways.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27959#discussion_r2459512017
More information about the client-libs-dev
mailing list