8062606: Fix a typo in java.awt.Robot class
Reviewed-by: yan, serb
This commit is contained in:
parent
842ce4b94e
commit
562ef36160
@ -562,7 +562,7 @@ public class Robot {
|
||||
try {
|
||||
SunToolkit.flushPendingEvents();
|
||||
// 7185258: realSync() call blocks all DnD tests on OS X
|
||||
if (AccessController.doPrivileged(OSInfo.getOSTypeAction()) = OSInfo.OSType.MACOSX) {
|
||||
if (AccessController.doPrivileged(OSInfo.getOSTypeAction()) == OSInfo.OSType.MACOSX) {
|
||||
// post a dummy event to the queue so we know when
|
||||
// all the events before it have been processed
|
||||
EventQueue.invokeAndWait( new Runnable() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user