6883983: JarVerifier dependency on sun.security.pkcs should be removed
Reviewed-by: sherman, wetmore
--- 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) {