test/sun/security/tools/jarsigner/JarSigningNonAscii.java

Print this page
rev 3083 : 7004035: signed jar with only META-INF/* inside is not verifiable
Reviewed-by: nobody

@@ -111,11 +111,11 @@
                     isSignedCount++;
                 }
             }
         }
 
-        if (isSignedCount != 3) {
+        if (isSignedCount != 4) {
             throw new SecurityException("error signing JAR file");
         }
 
         System.out.println("jar verified");
     }