JDK-6643094 : Test on keytool -startdate forgets about December
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Affected Version: 7
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2007-12-18
  • Updated: 2011-03-07
  • Resolved: 2011-03-07
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 Other
6u14Fixed 7 b25Fixed OpenJDK6Fixed
Description
test/sun/security/tools/keytool/StartDateTest.java includes a test on "keytool -startdate +1m" in which it checks if the generated issueDate = currentMonth + 1. Unfortunately, when running this test on Decmeber, 0 != 11+1.

Comments
EVALUATION No regression test, bug in the test itself.
18-12-2007