changeset 306:89b7a28ccafb

PR808: javaws is unable to start when missing jars are enumerated before main jar 2011-10-31 Omair Majid <omajid@redhat.com> * NEWS: Update. * netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue with other jars if the first jar can't be used.
author Omair Majid <omajid@redhat.com>
date Mon, 31 Oct 2011 16:31:41 -0400
parents 9f5ea9198a66
children f36e0b3fb9f0
files ChangeLog NEWS netx/net/sourceforge/jnlp/tools/JarSigner.java
diffstat 3 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Thu Oct 27 18:24:46 2011 -0400
+++ b/ChangeLog	Mon Oct 31 16:31:41 2011 -0400
@@ -1,3 +1,11 @@
+2011-10-31  Omair Majid  <omajid@redhat.com>
+
+	PR808: javaws is unable to start when missing jars are enumerated before
+	main jar
+	* NEWS: Update.
+	* netx/net/sourceforge/jnlp/tools/JarSigner.java (verifyJars): Continue
+	with other jars if the first jar can't be used.
+
 2011-10-27  Deepak Bhole <dbhole@redhat.com>
 
 	PR778: Jar download and server certificate verification deadlock
--- a/NEWS	Thu Oct 27 18:24:46 2011 -0400
+++ b/NEWS	Mon Oct 31 16:31:41 2011 -0400
@@ -29,6 +29,7 @@
   - PR778: Jar download and server certificate verification deadlock
   - PR789: typo in jrunscript.sh
   - PR794: IcedTea-Web does not work if a Web Start app jar has a Class-Path element in the manifest
+  - PR808: javaws is unable to start, when missing jars are enumerated before main jar
   - RH734081: Javaws cannot use proxy settings from Firefox
   - RH738814: Access denied at ssl handshake
   - Support for authenticating using client certificates
--- a/netx/net/sourceforge/jnlp/tools/JarSigner.java	Thu Oct 27 18:24:46 2011 -0400
+++ b/netx/net/sourceforge/jnlp/tools/JarSigner.java	Mon Oct 31 16:31:41 2011 -0400
@@ -194,7 +194,7 @@
                 // some sort of resource download/cache error. Nothing to add
                 // in that case ... but don't fail here
                 if (jarFile == null) {
-                    return;
+                    continue;
                 }
 
                 String localFile = jarFile.getAbsolutePath();