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

[TEST_BUG] Regtesthelpers Util.blockTillDisplayed is incorrect

XMLWordPrintable

      Method Util.blockTillDisplayed is incorrect.
      It use Component.getLocationOnScreen. But on Mac, it return result before window was displayed.
      I think, need use SunToolkit.realSync instead of Component.getLocationOnScreen.



      Some tests fails:
      For example closed/javax/swing/text/DefaultEditorKit/4848156/bug4848156.java

            Unassigned Unassigned
            pealexan Petrov Alexander (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: