Go to file
Jeff Genovy 02a2c9cce9
ICU-20036 CurrencyPluralInfo class improve handling of OOM errors (#17)
ICU-20036 CurrencyPluralInfo class doesn't always check/handle OOM errors.

Changes include:
- Using LocalPointer instead of raw new/delete, in order to make the code cleaner.
- Using nullptr instead of NULL.
- Inspired by Andy's review feedback PluralRules changes, this change sets fPluralRules and fLocale to nullptr in the assignment operator in order to prevent possible double deletes in the failure case.
- More consistent about not checking for nullptr when calling delete.
- Using LocalUResourceBundlePointer in order to simply the code and not need manual deletes.
- Reduce memory usage by using the same LocalUResourceBundle with .getAlias() instead of allocating new ones.
2018-09-27 14:27:37 -07:00
icu4c ICU-20036 CurrencyPluralInfo class improve handling of OOM errors (#17) 2018-09-27 14:27:37 -07:00
icu4j ICU-20018 Remove hardcoded expectations on available locales. 2018-09-27 14:27:37 -07:00
tools ICU-20033 Add a top-level README.md (#11) 2018-09-27 14:27:37 -07:00
vendor/double-conversion ICU-11318 Adding instructions and todo items to double-conversion UPDATING.md 2018-02-16 02:07:05 +00:00
.appveyor.yml ICU-20032 re-enable Travis (#10) 2018-09-27 14:27:37 -07:00
.gitattributes ICU-20005 Update/clean-up the .gitattributes file after the automated conversion from the scripts. Also add some comments for others, and use the diff helpers for better diffs. 2018-09-27 14:27:37 -07:00
.gitignore ICU-13581 Update SVN ignore list for ARM UWP project file detritus. 2018-02-28 06:02:05 +00:00
.travis.yml ICU-20032 re-enable Travis (#10) 2018-09-27 14:27:37 -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