Mercurial > hg > release > icedtea-web-1.7
changeset 1426:bdeedbb5a04f
Boot.java: processing of -about adapted to correct headless check
author | Jiri Vanek <jvanek@redhat.com> |
---|---|
date | Thu, 11 May 2017 17:56:41 +0200 |
parents | 4c81c2172cac |
children | 8d90bc3f310a |
files | ChangeLog netx/net/sourceforge/jnlp/runtime/Boot.java |
diffstat | 2 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu May 11 17:54:25 2017 +0200 +++ b/ChangeLog Thu May 11 17:56:41 2017 +0200 @@ -1,3 +1,7 @@ +2017-05-11 Jiri Vanek <jvanek@redhat.com> + + * netx/net/sourceforge/jnlp/runtime/Boot.java: processing of -about adapted to correct headless check + 2017-05-11 Jiri Vanek <jvanek@redhat.com> * Makefile: (clean-launchers) added removal of win launchers (if windows)
--- a/netx/net/sourceforge/jnlp/runtime/Boot.java Thu May 11 17:54:25 2017 +0200 +++ b/netx/net/sourceforge/jnlp/runtime/Boot.java Thu May 11 17:56:41 2017 +0200 @@ -147,7 +147,7 @@ if (optionParser.hasOption(OptionsDefinitions.OPTIONS.ABOUT)) { handleAbout(); - if (optionParser.hasOption(OptionsDefinitions.OPTIONS.HEADLESS)) { + if (JNLPRuntime.isHeadless()) { JNLPRuntime.exit(0); } else { try {