From e3597d8e44fd421f47d36479413288e7d0faae12 Mon Sep 17 00:00:00 2001 From: alanb Date: Thu, 15 Oct 2009 11:54:04 +0100 Subject: [PATCH] 6883983: JarVerifier dependency on sun.security.pkcs should be removed Reviewed-by: sherman, wetmore --- src/share/classes/java/util/jar/JarVerifier.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/share/classes/java/util/jar/JarVerifier.java b/src/share/classes/java/util/jar/JarVerifier.java index 54954413e..099cf7abb 100644 --- a/src/share/classes/java/util/jar/JarVerifier.java +++ b/src/share/classes/java/util/jar/JarVerifier.java @@ -293,10 +293,8 @@ class JarVerifier { } 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) { -- GitLab