8159805: sun/security/tools/jarsigner/warnings/NoTimestampTest.java fails after JDK-8027781
authorweijun
Fri, 17 Jun 2016 21:08:03 +0800
changeset 39055 92f7fed22d5f
parent 39054 e8da0515445a
child 39056 d99e63b6d962
8159805: sun/security/tools/jarsigner/warnings/NoTimestampTest.java fails after JDK-8027781 Reviewed-by: mullan
jdk/test/sun/security/tools/jarsigner/warnings/Test.java
--- a/jdk/test/sun/security/tools/jarsigner/warnings/Test.java	Fri Jun 17 21:07:31 2016 +0800
+++ b/jdk/test/sun/security/tools/jarsigner/warnings/Test.java	Fri Jun 17 21:08:03 2016 +0800
@@ -121,10 +121,10 @@
             + "(%1$tY-%1$tm-%1$td).";
 
     static final String NO_TIMESTAMP_VERIFYING_WARN_TEMPLATE
-            = "This jar contains signatures that does not include a timestamp. "
+            = "This jar contains signatures that do not include a timestamp. "
             + "Without a timestamp, users may not be able to validate this jar "
-            + "after the signer certificate's expiration date "
-            + "(%1$tY-%1$tm-%1$td).";
+            + "after any of the signer certificates expire "
+            + "(as early as %1$tY-%1$tm-%1$td).";
 
     static final String NOT_YET_VALID_CERT_SIGNING_WARNING
             = "The signer certificate is not yet valid.";