JDK-6643094 : Test on keytool -startdate forgets about December
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P5
  • Affected Version: 7
  • OS: generic
  • CPU: generic
  • Submit Date: 2007-12-18
  • Updated Date: 2011-03-07
  • Resolved Date: 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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u14Resolved 7 b25Fixed
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.
2007-12-18