diff options
author | Saad Mohammad <[email protected]> | 2012-12-10 17:35:50 -0500 |
---|---|---|
committer | Saad Mohammad <[email protected]> | 2012-12-10 17:35:50 -0500 |
commit | 95b362ef399456ed69dd53a05709783b92f9aa23 (patch) | |
tree | 01914dbfe868a2929c59f546a8a13ff1280352eb /netx/net/sourceforge | |
parent | f0532d8a52008379da30f1449f252fec5f442928 (diff) |
PR1189: Icedtea-plugin requires code attribute when using jnlp_href
Diffstat (limited to 'netx/net/sourceforge')
-rw-r--r-- | netx/net/sourceforge/jnlp/PluginParameters.java | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/netx/net/sourceforge/jnlp/PluginParameters.java b/netx/net/sourceforge/jnlp/PluginParameters.java index 6f0152e..06b1b3c 100644 --- a/netx/net/sourceforge/jnlp/PluginParameters.java +++ b/netx/net/sourceforge/jnlp/PluginParameters.java @@ -54,7 +54,9 @@ public class PluginParameters { this.parameters = createParameterTable(params); if (this.parameters.get("code") == null - && this.parameters.get("object") == null) { + && this.parameters.get("object") == null + //If code/object parameters are missing, we can still determine the main-class name from the jnlp file passed using jnlp_href + && this.parameters.get("jnlp_href") == null) { throw new PluginParameterException(R("BNoCodeOrObjectApplet")); } } |