-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P1
-
Affects Version/s: 1.2.0
-
Component/s: core-libs
-
007
-
sparc
-
solaris_2.3
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-2028105 | 1.3.0 | Masayoshi Okutsu | P1 | Resolved | Fixed | kestrel |
| JDK-2028104 | 1.2.2_004 | Masayoshi Okutsu | P1 | Resolved | Fixed | b04 |
| JDK-2028103 | 1.2.2_001 | Masayoshi Okutsu | P1 | Resolved | Fixed | b01 |
| JDK-2028102 | 1.2.1_003 | Masayoshi Okutsu | P1 | Resolved | Fixed | b03 |
| JDK-2028101 | 1.1.8_003 | Masayoshi Okutsu | P1 | Closed | Fixed | b03 |
| JDK-2028100 | 1.1.7 | Masayoshi Okutsu | P1 | Resolved | Fixed | 005 |
1. Set a GregorianCalendar object to 2/29/2000
2. Invoke the "Add" method, passing "YEAR" and "1"
jdk1.1.7 returns 3/1/2001
jdk1.1.8 & jdk1.2 return 2/28/2001
Similarly...
1. Set a GregorianCalendar object to 2/29/2000
2. Invoke the "Add" method, passing "YEAR" and "-1"
jdk1.1.7 returns 3/1/1999
jdk1.1.8 & jdk1.2 return 2/28/1999
______________________________________
###@###.### 1999-07-16
Subsequent testing shows behavior of other jdk's...
1. Set a GregorianCalendar object to 2/29/2000
2. Invoke the "Add" method, passing "YEAR" and "1"
jdk1.1.6 and jdk1.1.7 return 3/1/2001
jdk1.1.8, jdk1.2, jdk1.2.1, and jdk1.2.2 return 2/28/2001
Similarly...
1. Set a GregorianCalendar object to 2/29/2000
2. Invoke the "Add" method, passing "YEAR" and "-1"
jdk1.1.6 and jdk1.1.7 return 3/1/1999
jdk1.1.8, jdk1.2, jdk1.2.1, and jdk1.2.2 return 2/28/1999
- backported by
-
JDK-2028100 Doc: GregorianCalendar needs to specify behavior for leap year add/roll
-
- Resolved
-
-
JDK-2028102 Doc: GregorianCalendar needs to specify behavior for leap year add/roll
-
- Resolved
-
-
JDK-2028103 Doc: GregorianCalendar needs to specify behavior for leap year add/roll
-
- Resolved
-
-
JDK-2028104 Doc: GregorianCalendar needs to specify behavior for leap year add/roll
-
- Resolved
-
-
JDK-2028105 Doc: GregorianCalendar needs to specify behavior for leap year add/roll
-
- Resolved
-
-
JDK-2028101 Doc: GregorianCalendar needs to specify behavior for leap year add/roll
-
- Closed
-
- relates to
-
JDK-4281893 (cal) doc: Calendar roll()/add() should specify behaviour of time related field
-
- Closed
-
-
JDK-8327088 Calendar.add() is not round-trip safe on a Leap Day
-
- Closed
-