8023672: Enhance jar file validation

Also reviewed by Chris Ries and Alexander Fomin

Reviewed-by: mullan, sherman
This commit is contained in:
Weijun Wang 2013-09-13 15:37:43 +08:00
parent 312b920fb9
commit 8a7cd2a401

View File

@ -179,7 +179,9 @@ class JarVerifier {
name = name.substring(1);
// only set the jev object for entries that have a signature
if (sigFileSigners.get(name) != null) {
// (either verified or not)
if (sigFileSigners.get(name) != null ||
verifiedSigners.get(name) != null) {
mev.setEntry(name, je);
return;
}