changeset in /hg/icedtea: 2009-05-20 Lillian Angel <langel at red...

Lillian Angel langel at redhat.com
Wed May 20 13:31:12 PDT 2009


changeset 97367bcc3bc1 in /hg/icedtea
details: http://icedtea.classpath.org/hg/icedtea?cmd=changeset;node=97367bcc3bc1
description:
	2009-05-20  Lillian Angel  <langel at redhat.com>

	        * rt/net/sourceforge/jnlp/tools/JarSigner.java: Move creation of
	        certs outside of loop, so it is not reset during each iteration.

diffstat:

2 files changed, 6 insertions(+), 1 deletion(-)
ChangeLog                                                                        |    5 +++++
overlays/openjdk/jdk/src/share/classes/net/sourceforge/jnlp/tools/JarSigner.java |    2 +-

diffs (29 lines):

diff -r 933d372e9ded -r 97367bcc3bc1 ChangeLog
--- a/ChangeLog	Wed May 20 21:30:24 2009 +0100
+++ b/ChangeLog	Wed May 20 16:14:38 2009 -0400
@@ -1,3 +1,8 @@ 2009-05-15  Deepak Bhole  <dbhole at redhat
+2009-05-20  Lillian Angel  <langel at redhat.com>
+
+	* rt/net/sourceforge/jnlp/tools/JarSigner.java: Move creation of 
+	certs outside of loop, so it is not reset during each iteration. 
+
 2009-05-15  Deepak Bhole  <dbhole at redhat.com>
 
 	* Makefile.am: Wire in new plugin build.
diff -r 933d372e9ded -r 97367bcc3bc1 overlays/openjdk/jdk/src/share/classes/net/sourceforge/jnlp/tools/JarSigner.java
--- a/overlays/openjdk/jdk/src/share/classes/net/sourceforge/jnlp/tools/JarSigner.java	Wed May 20 21:30:24 2009 +0100
+++ b/overlays/openjdk/jdk/src/share/classes/net/sourceforge/jnlp/tools/JarSigner.java	Wed May 20 16:14:38 2009 -0400
@@ -199,12 +199,12 @@ public class JarSigner implements CertVe
     public void verifyJars(List<JARDesc> jars, ResourceTracker tracker)
     throws Exception {
 
+	certs = new ArrayList<CertPath>();
         for (int i = 0; i < jars.size(); i++) {
 
             JARDesc jar = (JARDesc) jars.get(i);
             verifiedJars = new ArrayList<String>();
             unverifiedJars = new ArrayList<String>();
-            certs = new ArrayList<CertPath>();
 
             try {
                 



More information about the distro-pkg-dev mailing list