You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Svatopluk Dedic (JIRA)" <ji...@apache.org> on 2018/06/11 10:10:00 UTC

[jira] [Created] (NETBEANS-951) NetBeans hang up in headless mode

Svatopluk Dedic created NETBEANS-951:
----------------------------------------

             Summary: NetBeans hang up in headless mode
                 Key: NETBEANS-951
                 URL: https://issues.apache.org/jira/browse/NETBEANS-951
             Project: NetBeans
          Issue Type: Bug
            Reporter: Svatopluk Dedic


In certain type of tests/infrastructure, it is desirable to run NB in headless mode (-Djava.awt.headless=true) and terminate early (-J-Dnetbeans.close=true).

But the code which eventually terminates NB instance is executed in WindowManager.invokeWhenUIReady - this mean never in headless mode, as the main window never becomes visible.

[~jtulach] proposed a patch that would schedule termination of NB process just after GuiRunLevel initaializes



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

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