On Wed, 29 Sep 2021 13:54:25 GMT, Jie Fu <[email protected]> wrote: >>> The image `editorPane.png` is automatically saved for analysis if the test >>> fails, you should find in it the test artefacts along with the jtreg test >>> log. >> >> It is not saved on `AssertionError` — my bad. >> I updated the test so that it saves the `editorPane.png` image if any >> exception occurs. >> >> Could you please take the updated version of `bug6364882.java` from my >> [JDK-8274465 >> branch](https://github.com/openjdk/jdk/compare/master...aivanov-jdk:JDK-8274465) >> or [copy the `bug6364882.java` >> file](https://raw.githubusercontent.com/aivanov-jdk/jdk/15f0bbf89dcd9c3e2cb4116b9059cc506f9d937b/test/jdk/javax/swing/text/ParagraphView/6364882/bug6364882.java)? >> Then re-run the test and attach the image. Please also provide the console >> output of the test, it will contain the view dumps as well as the font used. > >> > The image `editorPane.png` is automatically saved for analysis if the test >> > fails, you should find in it the test artefacts along with the jtreg test >> > log. >> >> It is not saved on `AssertionError` — my bad. I updated the test so that it >> saves the `editorPane.png` image if any exception occurs. >> >> Could you please take the updated version of `bug6364882.java` from my >> [JDK-8274465 >> branch](https://github.com/openjdk/jdk/compare/master...aivanov-jdk:JDK-8274465) >> or [copy the `bug6364882.java` >> file](https://raw.githubusercontent.com/aivanov-jdk/jdk/15f0bbf89dcd9c3e2cb4116b9059cc506f9d937b/test/jdk/javax/swing/text/ParagraphView/6364882/bug6364882.java)? >> Then re-run the test and attach the image. Please also provide the console >> output of the test, it will contain the view dumps as well as the font used. > > Good! > Thanks @aivanov-jdk for your help. > > My colleague @xpbob would like to follow this issue. > We agree with you that the test shouldn't be headful. > > Since it's near our National Day, many of us would go on vacation. > He may reply your questions either tonight or the day after tomorrow. > Thanks.
@DamonFool, I have created a new PR #5761 which should fix the test failure. Could you please test whether it fixes the failure? Please, also perform the [previous experiment](#issuecomment-930127270) first and attach the image of the failure to JBS. ------------- PR: https://git.openjdk.java.net/jdk/pull/5744
