-
Bug
-
Resolution: Fixed
-
P4
-
5.0
-
b01
-
x86
-
windows_xp
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2158148 | 7 | Masaki Katakai | P4 | Closed | Fixed | b80 |
JDK-2143878 | 6u10 | Jiri Tusla | P4 | Resolved | Fixed | b12 |
JDK-2159198 | OpenJDK6 | Jiri Tusla | P4 | Resolved | Fixed | b06 |
JDK-2201071 | 1.4.2_18 | Abhijit Saha | P4 | Resolved | Fixed | b06 |
JDK-2158134 | 1.4.2_17-rev | Abhijit Saha | P4 | Closed | Fixed | b12 |
FULL PRODUCT VERSION :
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The week day name for Saturday in Romanian, as returned by new DateFormatSymbols( new Locale( "ro" ) ).getWeekdays( )[Calendar.SATURDAY] is Sîmb?t?. The correct name is Sâmb?t?. The error is in the second character, after the capital 'S': it should be â (\u00e2) instead of î (\u00ee). This change was introduced in Romania around year 1995.
Also, the first day of the week, as returned by Calendar.getInstance( new Locale( "ro" ) ).getFirstDayOfWeek( ) is SUNDAY. The correct one is MONDAY.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use the 2 scenarios described above and check the returned values.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The expected weekday name for saturday should be Sâmb?t?.
The expected first day of week should be Calendar.MONDAY.
ACTUAL -
The returned weekday name for saturday was Sîmb?t?.
The returned first day of week was Calendar.SUNDAY.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
(none)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
System.out.print( new DateFormatSymbols( new Locale( "ro" ) ).getWeekdays( )[Calendar.SATURDAY] );
System.out.print( Calendar.getInstance( new Locale( "ro" ) ).getFirstDayOfWeek( ) );
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
(none)
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows XP [Version 5.1.2600]
A DESCRIPTION OF THE PROBLEM :
The week day name for Saturday in Romanian, as returned by new DateFormatSymbols( new Locale( "ro" ) ).getWeekdays( )[Calendar.SATURDAY] is Sîmb?t?. The correct name is Sâmb?t?. The error is in the second character, after the capital 'S': it should be â (\u00e2) instead of î (\u00ee). This change was introduced in Romania around year 1995.
Also, the first day of the week, as returned by Calendar.getInstance( new Locale( "ro" ) ).getFirstDayOfWeek( ) is SUNDAY. The correct one is MONDAY.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Use the 2 scenarios described above and check the returned values.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
The expected weekday name for saturday should be Sâmb?t?.
The expected first day of week should be Calendar.MONDAY.
ACTUAL -
The returned weekday name for saturday was Sîmb?t?.
The returned first day of week was Calendar.SUNDAY.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
(none)
REPRODUCIBILITY :
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
System.out.print( new DateFormatSymbols( new Locale( "ro" ) ).getWeekdays( )[Calendar.SATURDAY] );
System.out.print( Calendar.getInstance( new Locale( "ro" ) ).getFirstDayOfWeek( ) );
---------- END SOURCE ----------
CUSTOMER SUBMITTED WORKAROUND :
(none)
- backported by
-
JDK-2143878 The week day for Saturday and the first week day in Romania locale are incorrect
- Resolved
-
JDK-2159198 The week day for Saturday and the first week day in Romania locale are incorrect
- Resolved
-
JDK-2201071 The week day for Saturday and the first week day in Romania locale are incorrect
- Resolved
-
JDK-2158134 The week day for Saturday and the first week day in Romania locale are incorrect
- Closed
-
JDK-2158148 The week day for Saturday and the first week day in Romania locale are incorrect
- Closed