diff options
author | Andrew Azores <[email protected]> | 2013-08-15 14:57:08 -0400 |
---|---|---|
committer | Andrew Azores <[email protected]> | 2013-08-15 14:57:08 -0400 |
commit | 40dbe8d01d9e6a9d2f99c772a0f5968102309808 (patch) | |
tree | 557a5298326c7985bda3479c31fd26e9a09fa62a /netx/net/sourceforge/jnlp/runtime | |
parent | 3f6158009745f971e7554750f96e1fdf07893720 (diff) |
Fix and tests for PR974, extension JNLPs unavailable when embedded in HTML applet tags
Diffstat (limited to 'netx/net/sourceforge/jnlp/runtime')
-rw-r--r-- | netx/net/sourceforge/jnlp/runtime/Boot.java | 12 |
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); |