On Wed, 11 Oct 2023 06:13:48 GMT, Prasanta Sadhukhan <[email protected]>
wrote:
>> src/java.desktop/share/classes/javax/swing/JScrollBar.java line 765:
>>
>>> 763: if (isMinimumSizeSet()) {
>>> 764: return super.getMinimumSize();
>>> 765: }
>>
>> This looks like it has potential to cause many compatibility problems.
>> I think it better to simply update the Jscrollbar spec on these methods to
>> reflect what JScrollbar does.
>
> OK. Fair enough...Updated the spec of `getMinimumSize ` and `getMaximumSize`
> to mention this behaviour change as JScrollBar doesn't override
> `setMinimumSize` and `setMaximumSize`
CSR added https://bugs.openjdk.org/browse/JDK-8317857
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/15325#discussion_r1354194956