/hg/icedtea-web: Add Boolean Cast for JarCertVerifier

ldracz at icedtea.classpath.org ldracz at icedtea.classpath.org
Mon Apr 20 14:19:53 UTC 2015


changeset 36658487ef8e in /hg/icedtea-web
details: http://icedtea.classpath.org/hg/icedtea-web?cmd=changeset;node=36658487ef8e
author: Lukasz Dracz <ldracz at redhat.com>
date: Mon Apr 20 10:19:54 2015 -0400

	Add Boolean Cast for JarCertVerifier

	2015-04-20  Lukasz Dracz  <ldracz at redhat.com>

		add Boolean Cast for JarCertVerifier
		* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
		Added a Boolean cast that was needed for Java 7 to work


diffstat:

 ChangeLog                                            |  6 ++++++
 netx/net/sourceforge/jnlp/tools/JarCertVerifier.java |  2 +-
 2 files changed, 7 insertions(+), 1 deletions(-)

diffs (25 lines):

diff -r 200af1c71bb2 -r 36658487ef8e ChangeLog
--- a/ChangeLog	Mon Apr 20 15:00:33 2015 +0200
+++ b/ChangeLog	Mon Apr 20 10:19:54 2015 -0400
@@ -1,3 +1,9 @@
+2015-04-20  Lukasz Dracz  <ldracz at redhat.com>
+
+	add Boolean Cast for JarCertVerifier
+	* netx/net/sourceforge/jnlp/tools/JarCertVerifier.java:
+	Added a Boolean cast that was needed for Java 7 to work
+
 2015-04-20  Jiri Vanek  <jvanek at redhat.com>
 
 	Added support for jdk7 and javafx
diff -r 200af1c71bb2 -r 36658487ef8e netx/net/sourceforge/jnlp/tools/JarCertVerifier.java
--- a/netx/net/sourceforge/jnlp/tools/JarCertVerifier.java	Mon Apr 20 15:00:33 2015 +0200
+++ b/netx/net/sourceforge/jnlp/tools/JarCertVerifier.java	Mon Apr 20 10:19:54 2015 -0400
@@ -574,7 +574,7 @@
                 NetscapeCertTypeExtension extn = new NetscapeCertTypeExtension(
                         encoded);
 
-                Boolean val = extn
+                Boolean val = (Boolean) extn
                         .get(NetscapeCertTypeExtension.OBJECT_SIGNING);
                 if (!val) {
                     if (bad != null) {


More information about the distro-pkg-dev mailing list