src/macosx/classes/sun/lwawt/macosx/CToolkitThreadBlockedHandler.java
Print this page
*** 39,50 ****
protected boolean isOwned() {
return false;
}
public void enter() {
toolkit.startNativeNestedEventLoop();
}
public void exit() {
- toolkit.stopNativeNestedEventLoop();
}
}
--- 39,52 ----
protected boolean isOwned() {
return false;
}
public void enter() {
+ // Despite the naming of this method, on MacOS only one
+ // event is read and dispatched before this method returns.
+ // This call is non-blocking and does not wait for an event
toolkit.startNativeNestedEventLoop();
}
public void exit() {
}
}