aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOmair Majid <[email protected]>2011-09-22 17:00:02 -0400
committerOmair Majid <[email protected]>2011-09-22 17:00:02 -0400
commit94355bd36513b3f649c1c027dd50e63862f1d635 (patch)
tree2765aaf4c5fc412b4d17e53746eba5accda1854f
parent9de7a66d1cc25bdccaf582d6eafd28120f8d4b38 (diff)
PR788: Elluminate Live! is not working
2011-09-22 Omair Majid <[email protected]> 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.
-rw-r--r--ChangeLog8
-rw-r--r--NEWS1
-rw-r--r--netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java7
3 files changed, 13 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 7fc6397..689faf8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-09-22 Omair Majid <[email protected]>
+
+ 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 <[email protected]>
PR766: javaws fails to parse an <argument> node that contains CDATA
diff --git a/NEWS b/NEWS
index 29c73cd..5eda0b4 100644
--- a/NEWS
+++ b/NEWS
@@ -14,6 +14,7 @@ New in release 1.2 (2011-XX-XX):
- 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 --git a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
index 09f05cf..1706076 100644
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
@@ -586,9 +586,10 @@ public class JNLPClassLoader extends URLClassLoader {
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();