Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8358702

Test TextLayout/TestSinhalaChar.java creates UI with invokeLater

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 7, 8, 11, 17, 21, 25, 26
    • 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.

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

              Created:
              Updated: