JDK-5090555 : REGRESSION: incorrect GregorianCalendar.roll(DAY_OF_WEEK) around year boundaries
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 6
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2004-08-23
  • Updated: 2004-10-04
  • Resolved: 2004-10-04
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.
Other JDK 6
5.0u2Fixed 6 mustangFixed
Related Reports
Relates :  
Relates :  
Description
GregorianCalendar.roll(DAY_OF_WEEK, n) doesn't handle it correctly around year boundaries.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: dragon mustang FIXED IN: mustang
30-09-2004

EVALUATION Actually this is not implementable under the current roll rule: Roll rule. Larger fields are unchanged after the call. A larger field represents a larger unit of time. DAY_OF_MONTH is a larger field than HOUR. However, it should be fixed for compatibility. ###@###.### 2004-08-23
23-08-2004