[8] Review request for 7112115: Component.getLocationOnScreen() work incorrectly if create window in point (0, 0) on oel (original) (raw)
Denis S. Fokin denis.fokin at oracle.com
Thu May 31 07:03:19 PDT 2012
- Previous message: [8] Review request for 6868690 TEST: java/awt/FontClass/CreateFont/BigFont.java test should be modified in jdk7&8 to run via jtreg
- Next message: [8] Review request for 7112115: Component.getLocationOnScreen() work incorrectly if create window in point (0, 0) on oel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
could you take a look at the next fix. I have moved the test from the closed repository and changed
Util.blockTillDisplayed(spinner2);
to
((sun.awt.SunToolkit)Toolkit.getDefaultToolkit()).realSync();
because getLocationOnScreen does not guarantee that we will get the last value for component location and blockTillDisplayed uses getLocationOnScreen method.
Bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7112115 Webrev: http://cr.openjdk.java.net/~denis/7112115/webrev.02/
Thank you, Denis.
- Previous message: [8] Review request for 6868690 TEST: java/awt/FontClass/CreateFont/BigFont.java test should be modified in jdk7&8 to run via jtreg
- Next message: [8] Review request for 7112115: Component.getLocationOnScreen() work incorrectly if create window in point (0, 0) on oel
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]