/hg/icedtea-web: Removed old commented code hunk
aazores at icedtea.classpath.org
aazores at icedtea.classpath.org
Tue Jun 24 13:43:11 UTC 2014
changeset 2446d336d306 in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=2446d336d306
author: Andrew Azores <aazores at redhat.com>
date: Tue Jun 24 09:42:50 2014 -0400
Removed old commented code hunk
2014-06-24 Andrew Azores <aazores at redhat.com>
* netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: removed hunk of
old commented out code, updated comment on reason for
JNLPRuntime.reloadPolicy()
diffstat:
ChangeLog | 6 ++++++
netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java | 11 ++++-------
2 files changed, 10 insertions(+), 7 deletions(-)
diffs (41 lines):
diff -r 2430a5f1d160 -r 2446d336d306 ChangeLog
--- a/ChangeLog Thu Jun 19 15:09:40 2014 -0400
+++ b/ChangeLog Tue Jun 24 09:42:50 2014 -0400
@@ -1,3 +1,9 @@
+2014-06-24 Andrew Azores <aazores at redhat.com>
+
+ * netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java: removed hunk of
+ old commented out code, updated comment on reason for
+ JNLPRuntime.reloadPolicy()
+
2014-06-19 Jie Kang <jkang at redhat.com>
Refactored Live-Connect (java-js) test cases to fix race condition between
diff -r 2430a5f1d160 -r 2446d336d306 netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java
--- a/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Thu Jun 19 15:09:40 2014 -0400
+++ b/netx/net/sourceforge/jnlp/runtime/JNLPClassLoader.java Tue Jun 24 09:42:50 2014 -0400
@@ -594,12 +594,7 @@
return;
}
- /*
- if (jars == null || jars.length == 0) {
- throw new LaunchException(null, null, R("LSFatal"),
- R("LCInit"), R("LFatalVerification"), "No jars!");
- }
- */
+
List<JARDesc> initialJars = new ArrayList<JARDesc>();
for (JARDesc jar : jars) {
@@ -2385,7 +2380,9 @@
throw new LaunchException(classLoader.file, null, R("LSFatal"), R("LCInit"), R("LRunInSandboxError"), R("LRunInSandboxErrorInfo"));
}
- JNLPRuntime.reloadPolicy(); // ensure that we have the most up-to-date custom policy loaded
+ JNLPRuntime.reloadPolicy();
+ // ensure that we have the most up-to-date custom policy loaded since the user may have just launched PolicyEditor
+ // to create a custom policy for the applet they are about to run
this.promptedForSandbox = true;
this.runInSandbox = true;
}
More information about the distro-pkg-dev
mailing list