aboutsummaryrefslogtreecommitdiffstats
path: root/netx/net/sourceforge/jnlp/runtime/Boot.java
diff options
context:
space:
mode:
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime/Boot.java')
-rw-r--r--netx/net/sourceforge/jnlp/runtime/Boot.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/netx/net/sourceforge/jnlp/runtime/Boot.java b/netx/net/sourceforge/jnlp/runtime/Boot.java
index fcd87b8..81d19c1 100644
--- a/netx/net/sourceforge/jnlp/runtime/Boot.java
+++ b/netx/net/sourceforge/jnlp/runtime/Boot.java
@@ -214,18 +214,8 @@ public final class Boot implements PrivilegedAction<Void> {
extra.put("arguments", getOptions("-arg"));
extra.put("parameters", getOptions("-param"));
extra.put("properties", getOptions("-property"));
- boolean strict = false;
- boolean malformedXmlAllowed = true;
- if (null != getOption("-strict")) {
- strict = true;
- }
-
- if (null != getOption("-xml")) {
- malformedXmlAllowed = false;
- }
-
- ParserSettings settings = new ParserSettings(strict, true, malformedXmlAllowed);
+ ParserSettings settings = ParserSettings.setGlobalParserSettingsFromArgs(args);
try {
Launcher launcher = new Launcher(false);