Hi Semyon,

Although the JBS testcase is passing with your change, your testcase is failing even with the fix for me in windows10

java.lang.RuntimeException: Wrong size java.awt.Dimension[width=181,height=44] expected java.awt.Dimension[width=180,height=44]
        at JEditorPaneLayoutTest.main(JEditorPaneLayoutTest.java:84)

Regards

Prasanta

On 17-Jul-19 1:33 AM, [email protected] wrote:
bug: https://bugs.openjdk.java.net/browse/JDK-8226513

webrev: http://cr.openjdk.java.net/~ssadetsky/8226513/webrev.00/

The fix adds resetting the root view initialization flag when the text component underling document is changed and also removes the check for the zero component size for the root view initialization to correct the resulting preferred component size in some scenarios when the root view need to be initially layouted.

--Semyon


Reply via email to