<Swing Dev> RFR: 4916923: In MetalRootPaneUI, MetalRootLayout does not correctly calculate minimumsize
Sergey Bylokhov
serb at openjdk.java.net
Mon Oct 5 19:35:41 UTC 2020
On Mon, 5 Oct 2020 10:01:43 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/plaf/metal/MetalRootPaneUI.java line 539:
>>
>>> 537:
>>> 538: return new Dimension(Math.max(Math.max(cpWidth, mbWidth), tpWidth) + i.left + i.right,
>>> 539: cpHeight + mbHeight + tpHeight + i.top + i.bottom);
>>
>> Is it possible to check this change by some testcase?
>
> I tried at the time of PR but unable to check as MetalRootLayout is private so not able to access its methods. That is
> why I ran all client-tier3 jtreg and jck tests, and mach5 job link is posted in JBS.
If the MetalRootLayout is private and it is not possible to trigger this code in other ways, then it means we can
delete it?
-------------
PR: https://git.openjdk.java.net/jdk/pull/433
More information about the swing-dev
mailing list