/hg/icedtea-web: PR788: Elluminate Live! is not working

omajid at icedtea.classpath.org omajid at icedtea.classpath.org
Thu Sep 22 14:00:29 PDT 2011


changeset 1fc5f8ceb75c in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=1fc5f8ceb75c
author: Omair Majid <omajid at redhat.com>
date: Thu Sep 22 17:00:02 2011 -0400

	PR788: Elluminate Live! is not working

	2011-09-22 Omair Majid <omajid at redhat.com>

	 PR788: Elluminate Live! is not working
	    * NEWS: Update.
	    * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
	(checkForMain): If localFile is null (JAR couldn't be downloaded),
	try to continue, rather than allowing the exception to cause an
	abort.


diffstat:

 ChangeLog                                              |  8 ++++++++
 NEWS                                                   |  1 +
 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java |  7 ++++---
 3 files changed, 13 insertions(+), 3 deletions(-)

diffs (43 lines):

diff -r 8ab68d19c6f7 -r 1fc5f8ceb75c ChangeLog
--- a/ChangeLog	Wed Sep 21 14:45:25 2011 -0400
+++ b/ChangeLog	Thu Sep 22 17:00:02 2011 -0400
@@ -1,3 +1,11 @@
+2011-09-22  Omair Majid  <omajid at redhat.com>
+
+	PR788: Elluminate Live! is not working
+	* NEWS: Update.
+	* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+	(checkForMain): If localFile is null (JAR couldn't be downloaded), try to
+	continue, rather than allowing the exception to cause an abort.
+
 2011-09-21  Omair Majid  <omajid at redhat.com>
 
 	PR766: javaws fails to parse an <argument> node that contains CDATA
diff -r 8ab68d19c6f7 -r 1fc5f8ceb75c NEWS
--- a/NEWS	Wed Sep 21 14:45:25 2011 -0400
+++ b/NEWS	Thu Sep 22 17:00:02 2011 -0400
@@ -14,6 +14,7 @@
 	- RH718170, CVE-2011-2514: Java Web Start security warning dialog manipulation
 * NetX
   - PR765: JNLP file with all resource jars marked as 'lazy' fails to validate signature and stops the launch of application
+  - PR788: Elluminate Live! is not working
 * Plugin
   - PR749: sun.applet.PluginStreamHandler#handleMessage(String) really slow
   - PR782: Support building against npapi-sdk as well
diff -r 8ab68d19c6f7 -r 1fc5f8ceb75c netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java	Wed Sep 21 14:45:25 2011 -0400
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java	Thu Sep 22 17:00:02 2011 -0400
@@ -586,9 +586,10 @@
                 File localFile = tracker
                         .getCacheFile(jars.get(i).getLocation());
 
-                if (localFile == null)
-                    throw new NullPointerException(
-                            "Could not locate jar file, returned null");
+                if (localFile == null) {
+                    System.err.println("JAR " + jars.get(i).getLocation() + " not found. Continuing.");
+                    continue; // JAR not found. Keep going.
+                }
 
                 JarFile jarFile = new JarFile(localFile);
                 Enumeration<JarEntry> entries = jarFile.entries();



More information about the distro-pkg-dev mailing list