Test TextLayout/TestSinhalaChar.java creates UI with invokeLater

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 7, 8, 11, 17, 21, 25, 26
    • Component/s: client-libs
    • 2d
    • b74
    • 7

      The test java/awt/font/TextLayout/TestSinhalaChar.java creates UI with SwingUtilities.invokeLater. Because of that, the test exits before it even has a chance to display any UI.

      The test has to use invokeAndWait instead. Better yet, create a JLabel with the specified character and render it into a buffered image. No crash should occur, and no UI is necessary.

      Yet the proposed change has to ensure the updated test reproduces the crash described in JDK-6795060 for which the test was written.

            Assignee:
            Manukumar V S
            Reporter:
            Alexey Ivanov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: