6883983: JarVerifier dependency on sun.security.pkcs should be removed
authoralanb
Thu, 15 Oct 2009 11:54:04 +0100
changeset 4049 f02d7c56d8f8
parent 4046 871e26a824cc
child 4050 5e13972159e3
6883983: JarVerifier dependency on sun.security.pkcs should be removed Reviewed-by: sherman, wetmore
jdk/src/share/classes/java/util/jar/JarVerifier.java
--- a/jdk/src/share/classes/java/util/jar/JarVerifier.java	Wed Oct 14 20:16:02 2009 -0700
+++ b/jdk/src/share/classes/java/util/jar/JarVerifier.java	Thu Oct 15 11:54:04 2009 +0100
@@ -293,10 +293,8 @@
                 }
                 sfv.process(sigFileSigners);
 
-            } catch (sun.security.pkcs.ParsingException pe) {
-                if (debug != null) debug.println("processEntry caught: "+pe);
-                // ignore and treat as unsigned
             } catch (IOException ioe) {
+                // e.g. sun.security.pkcs.ParsingException
                 if (debug != null) debug.println("processEntry caught: "+ioe);
                 // ignore and treat as unsigned
             } catch (SignatureException se) {