On Thu, 28 Jul 2022 04:07:55 GMT, Prasanta Sadhukhan <[email protected]> 
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:
> 
>   Remove implNote tag

We were not sure if -ve divider size can be used by third party implementation. 
It probably will be considered a compatibility issue as mentioned earlier. 
@prrace Will you be ok to throw IAE instead of ignoring -ve value as suggested 
or should we keep it as it is now in this PR?

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

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

Reply via email to