You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/09/25 11:45:21 UTC

[GitHub] JaroslavTulach opened a new pull request #907: Make invokeWhenUIReady work in headless mode

JaroslavTulach opened a new pull request #907: Make invokeWhenUIReady work in headless mode
URL: https://github.com/apache/incubator-netbeans/pull/907
 
 
   Make sure `invokeWhenUIReady` runnables are eventually invoked even in headless mode.
   
   Tests that run in `NbSuiteModule` mode and use parsing never finish. The problem is that parsing is delayed until the main window is shown using `WindowManager.getDefault().invokeWhenUIReady`. However the tests are executed with `gui(false)` option and thus the main window is never shown, which implies the parsing never starts.
   
   This change detects the headless mode and if so, invokes the provided `Runnable` implementations immediately (via `EventQueue.invokeLater`).

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists