The home of the ICU project source code.
Find a file
Jeff Genovy 5df4d7dfd8 ICU-20558 Fix regression in DateTimePatternGenerator (Backport for 63)
Backporting to ICU 63. This is manually cherry-picked from
commit: 693adf3987

This fixes a regression introduced by commit
b12a927c93 for issue ICU-13778.

The above commit improved the error checking in the
DateTimePatternGenerator class, adding checks for errors/failures
where there previously was none at all. This was done in order to
catch catastrophic errors like out-of-memory (OOM), and properly
report them to the caller, rather than ignoring/hiding these errors.

However, in doing so it exposed a case where the code was depending
on ignoring errors in order to fall-back to the Gregorian calendar
when the default ICU locale is set to root.

This restores the previous behavior, by allowing the error of
U_MISSING_RESOURCE_ERROR to fall-though and continue without
reporting back an error to the caller.

Note: This regression was technically introduced in ICU 63, and
also effects ICU 64 as well.
2019-04-25 15:39:20 -07:00
.github ICU-20003 add a PR template (#27) 2018-09-27 14:27:37 -07:00
icu4c ICU-20558 Fix regression in DateTimePatternGenerator (Backport for 63) 2019-04-25 15:39:20 -07:00
icu4j ICU-20536 ICU 63.2 release tasks + tzdata2019a 2019-04-11 12:04:36 -07:00
tools ICU-20119 ICU4C 63 API promotion & change report (#161) 2018-09-28 09:36:25 -07:00
vendor/double-conversion ICU-20053 Adding back double-conversion .gitignore 2018-09-27 14:27:38 -07:00
.appveyor.yml ICU-20032 re-enable Travis (#10) 2018-09-27 14:27:37 -07:00
.cpyskip.txt ICU-20066 fixup .travis.yml (#160) 2018-09-27 14:27:41 -07:00
.gitattributes ICU-20017 Fix line endings in Visual Studio *.props files. (#101) 2018-09-27 14:27:39 -07:00
.gitignore ICU-8966 ICU-12850 add API/data/code for text layout properties InPC, InSC, vo (#92) 2018-09-27 14:27:39 -07:00
.travis.yml ICU-20120 Travis TSAN testing, limit time. 2018-10-10 20:43:52 -07:00
README.md ICU-20033 Add a top-level README.md (#11) 2018-09-27 14:27:37 -07:00

International Components for Unicode

This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.

ICU Logo

Build Status

Build Status
TravisCI Build Status
Win x64 Release Build status
Win x86 Release Build status

Subdirectories and Information

License

Please see ./icu4c/LICENSE (C and J are under an identical license file.)

Copyright © 2016 and later Unicode, Inc. and others. All Rights Reserved. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the U.S. and other countries. Terms of Use and License