icu/icu4c/source
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
..
allinone ICU-20076 MSVC Warning clean up. Define _HAS_EXCEPTIONS=0 in ICU library code (#128) 2018-09-27 14:27:41 -07:00
common ICU-20536 ICU 63.2 release tasks + tzdata2019a 2019-04-11 12:04:36 -07:00
config ICU-13138 MinGW: add 'd' suffix to the names of binary files with Debug config (#28) 2018-09-27 14:27:37 -07:00
data ICU-20536 ICU 63.2 release tasks + tzdata2019a 2019-04-11 12:04:36 -07:00
extra ICU-13785 Adding dependency information to uconv project to prevent "NMAKE : fatal error U1077" on Win/VS builds. 2018-05-24 05:54:49 +00:00
i18n ICU-20558 Fix regression in DateTimePatternGenerator (Backport for 63) 2019-04-25 15:39:20 -07:00
io ICU-20119 BRS63rc Update version number for ICU4C and ICU4J. Update readme files. (#144) 2018-09-27 14:27:41 -07:00
layoutex ICU-13685 Revert c: add @preview (retry) (#172) 2018-09-27 14:27:42 -07:00
samples ICU-20145 Allow passing locale in ICU4C "date" sample program for testing without using the environment variable "LC_ALL". (#125) 2018-09-27 14:27:40 -07:00
stubdata ICU-20119 BRS63rc Update version number for ICU4C and ICU4J. Update readme files. (#144) 2018-09-27 14:27:41 -07:00
test ICU-20558 Fix regression in DateTimePatternGenerator (Backport for 63) 2019-04-25 15:39:20 -07:00
tools ICU-20193 urename.h shouldn't be ignored by other compilers except VS IntelliSense (#189) 2018-10-05 11:05:00 -07:00
acinclude.m4 ICU-13670 Changing CFLAGS to C11 and fixing check for unicode string literals. 2018-04-23 21:16:52 +00:00
aclocal.m4
config.guess
config.sub
configure ICU-20536 ICU 63.2 release tasks + tzdata2019a 2019-04-11 12:04:36 -07:00
configure.ac ICU-20160 Add check for Python 3 in autoconf and nmake. (#157) 2018-09-27 14:27:41 -07:00
Doxyfile.in ICU-13685 Revert c: add @preview (retry) (#172) 2018-09-27 14:27:42 -07:00
icudefs.mk.in
install-sh
Makefile.in ICU-20061 fix 'rm: cannot remove 'current'' warning during build (#65) 2018-09-27 14:27:38 -07:00
mkinstalldirs
runConfigureICU ICU-20027 Support parallel builds with MSYS/MSVC and Cygwin/MSVC (#104) 2018-09-27 14:27:39 -07:00