JDK-8159769 : sun/security/tools/jarsigner/warnings/NoTimestampTest.java failed with signatures does not include a timestamp
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 9
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2016-06-17
  • Updated: 2016-06-28
  • Resolved: 2016-06-17
Related Reports
Duplicate :  
Description
sun/security/tools/jarsigner/warnings/NoTimestampTest.java test failed with the following output:

java.lang.RuntimeException: 'This jar contains signatures that does not include a timestamp. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2017-06-16).' missing from stdout/stderr 
	at jdk.testlibrary.OutputAnalyzer.shouldContain(OutputAnalyzer.java:106)
	at Test.checkVerifying(Test.java:156)
	at NoTimestampTest.start(NoTimestampTest.java:96)
	at NoTimestampTest.main(NoTimestampTest.java:44)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-ea/Native Method)
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(java.base@9-ea/NativeMethodAccessorImpl.java:62)
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-ea/DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(java.base@9-ea/Method.java:533)
	at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:226)
	at java.lang.Thread.run(java.base@9-ea/Thread.java:843)
Comments
This has been fixed in JDK-8159805.
17-06-2016

There is another issue JDK-8133910 with jarsigner tests which seems to be related to locales. Not sure if it is related to this one.
17-06-2016