aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--netx/net/sourceforge/jnlp/PluginBridge.java6
2 files changed, 11 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b6e05e6..4b27fdc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2010-10-26 Deepak Bhole <dbhole@redhat.com>
+ * netx/net/sourceforge/jnlp/PluginBridge.java: Trim whitespace from jar
+ names in the constructor.
+
+2010-10-26 Deepak Bhole <dbhole@redhat.com>
+
* plugin/icedteanp/java/sun/applet/PluginAppletViewer.java:
Replace all status.put calls with calls to updateStatus().
(createPanel): Create a frame with a 0 handle. Use the new
diff --git a/netx/net/sourceforge/jnlp/PluginBridge.java b/netx/net/sourceforge/jnlp/PluginBridge.java
index 9312097..56538e7 100644
--- a/netx/net/sourceforge/jnlp/PluginBridge.java
+++ b/netx/net/sourceforge/jnlp/PluginBridge.java
@@ -103,6 +103,12 @@ public class PluginBridge extends JNLPFile
if (jar != null && jar.length() > 0) {
this.jars = jar.split(",");
+
+ // trim white spaces
+ for (int i =0; i < this.jars.length; i++) {
+ this.jars[i] = this.jars[i].trim();
+ }
+
if (JNLPRuntime.isDebug()) {
System.err.println("Jar string: " + jar);
System.err.println("jars length: " + jars.length);