RFR: 4797982: Setting negative size of JSplitPane divider leads to unexpected results. [v6]
Phil Race
prr at openjdk.org
Sun Aug 21 21:37:29 UTC 2022
On Thu, 18 Aug 2022 12:08:43 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> 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?
IAE is just too incompatible. The program would probably stop working if anyone is actually doing that.
If it had been done since day one, yes, but too late now.
I didn't get why some effect like the "visibility" of the divider in some L&F should be allowed to over-rule the specified size.
-------------
PR: https://git.openjdk.org/jdk/pull/9566
More information about the client-libs-dev
mailing list