On Tue, 12 Sep 2023 10:33:07 GMT, Ajit Ghaisas <aghai...@openjdk.org> wrote:
> test/scenegraph/richtext/RichTextLabeledsTest.java > test/scenegraph/richtext/RichTextMixedTest.java > test/scenegraph/richtext/RichTextRectangleTest.java > test/scenegraph/richtext/RichTextTextTest.java > > These tests were failing with - java.lang.IllegalStateException: This > operation is permitted on the event thread only; currentThread = Time-limited > test. They are fixed with a change to single file `RichTextPropertiesApp.java` > > Another test - test/scenegraph/richtext/RichTextSpecSymbTest.java - was > failing due to NPE. Added a null check to fix it. functional/SceneGraphTests/src/test/scenegraph/richtext/RichTextPropertiesApp.java line 256: > 254: } > 255: }); > 256: } minor : can be replaced with a lambda: PlatformImpl.runAndWait(() -> textFlowPage.addTextFlow.requestFocus()); ------------- PR Review Comment: https://git.openjdk.org/jfx-tests/pull/9#discussion_r1326983167