Mercurial > hg > release > icedtea-web-1.5
changeset 19:98887d964b0e
Trim whitespace from jar names in PluginBridge constructor.
author | Deepak Bhole <dbhole@redhat.com> |
---|---|
date | Tue, 26 Oct 2010 18:08:09 -0700 |
parents | d4a914a000e3 |
children | 9a6efc86f5c1 |
files | ChangeLog netx/net/sourceforge/jnlp/PluginBridge.java |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 26 17:49:57 2010 -0700 +++ b/ChangeLog Tue Oct 26 18:08:09 2010 -0700 @@ -1,3 +1,8 @@ +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:
--- a/netx/net/sourceforge/jnlp/PluginBridge.java Tue Oct 26 17:49:57 2010 -0700 +++ b/netx/net/sourceforge/jnlp/PluginBridge.java Tue Oct 26 18:08:09 2010 -0700 @@ -103,6 +103,12 @@ 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);