Details
-
Bug
-
Resolution: Fixed
-
P4
-
8
-
None
-
When I fully turn my windows 7 into ar (including UI) and reboot the machine, the OS is crashed.
My test is on windows 2008, it's turned into ar_EG with Hijri calendar as the default, but I do not reboot the machine to make the UI into ar.
-
b101
-
generic
-
windows
Description
Change windows Format locale to ar_EG and set Hijri calendar as the default calendar of the system.
iCalendarType=6
Run the attached program, DateFormatTestAR, with -Djava.locale.providers=HOST.
The output log in UTF-8 encoding is attached.
From google translation, the output is something like "After immigration 07/10/2014". Iooks like the era "after immigration" which means 622 A.D. is used. With this era, 07/10/2014 is incorrect.
Since Hijra clendar is not supported by Java, even Hijra is the default calendar of the windows, the corresponding era should not be reterieved when formatting date.
This bug is similar toJDK-8039969, but happens in Arabic.
iCalendarType=6
Run the attached program, DateFormatTestAR, with -Djava.locale.providers=HOST.
The output log in UTF-8 encoding is attached.
From google translation, the output is something like "After immigration 07/10/2014". Iooks like the era "after immigration" which means 622 A.D. is used. With this era, 07/10/2014 is incorrect.
Since Hijra clendar is not supported by Java, even Hijra is the default calendar of the windows, the corresponding era should not be reterieved when formatting date.
This bug is similar to
Attachments
Issue Links
- relates to
-
JDK-8039969 Old Korean Calendar conflicts with Host Locale
-
- Resolved
-