RFR: 4797982: Setting negative size of JSplitPane divider leads to unexpected results. [v3]

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Jul 26 04:48:58 UTC 2022


On Tue, 26 Jul 2022 04:37:22 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> Setting JSplitPane divider size to negative value leads to unexpected results and is not desirable and seems to be not practical.
>> I guess we should return IAE but it might break existing app so fixed to clamp it to 0 incase negative value is tried to be set for divider size.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Clarify behavior in javadoc

OK. javadoc clarified and CSR raised https://bugs.openjdk.org/browse/JDK-8290992

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

PR: https://git.openjdk.org/jdk/pull/9566



More information about the client-libs-dev mailing list