-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
P4
-
Affects Version/s: 6u28, 7
-
Component/s: client-libs
-
generic
-
generic
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
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