RFR: 8364146: JList getScrollableUnitIncrement return 0 [v5]
Tejesh R
tr at openjdk.org
Wed Oct 22 06:37:06 UTC 2025
On Mon, 6 Oct 2025 06:39:10 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> It seems JList.getScrollableUnitIncrement can sometime return 0 instead of positive number which is not specified in the javadoc which can lead to confusion. Clarified javadoc as to when it can return 0.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Add test
test/jdk/javax/swing/JList/JListTest.java line 80:
> 78: }
> 79: } finally {
> 80: f.dispose();
Null check and EDT is missing for dispose.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26500#discussion_r2450582621
More information about the client-libs-dev
mailing list