mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-06 22:15:31 +00:00
The home of the ICU project source code.
The implementation was keeping a cache of FormatterFactory objects so that subsequent calls to the same formatter re-use the same object. The problem is that this is unsafe, because `MFFunctionRegistry::getFormatter()` returns a non-const `FormatterFactory*`; so if the caller deleted the resulting pointer, the formatter cache would contain a dangling pointer. This optimization was added because of an ICU4J test that checked for the presence of the optimization. However, for separate reasons (making `adoptFormatter()` actually adopt its argument), this test was already removed. The caching could be re-added later if that optimization is needed, but for now, remove it (also, no tests were checking for its presence). |
||
---|---|---|
.ci-builds | ||
.github | ||
docs | ||
icu4c | ||
icu4j | ||
tools | ||
vendor/double-conversion | ||
.bazeliskrc | ||
.bazelrc | ||
.cpyskip.txt | ||
.gitattributes | ||
.gitignore | ||
CONTRIBUTING.md | ||
KEYS | ||
LICENSE | ||
README.md | ||
SECURITY.md | ||
WORKSPACE |
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.
- Source: https://github.com/unicode-org/icu
- Bugs: https://unicode-org.atlassian.net/projects/ICU
- API Docs: https://unicode-org.github.io/icu-docs/
- User Guide: https://unicode-org.github.io/icu/
🔴🔴🔴 Special Notice About Branch Renaming 🔴🔴🔴
Around March 24-25, 2021 we renamed the master
branch to main
. You may need to rename your branch in your local git repo and change your normal git command to reflect this change. See also https://github.com/github/renaming
Build Status (main
branch)
Build | Status |
---|---|
GitHub Actions (ICU4C) | |
GitHub Actions (ICU4J) | |
Azure Pipelines (ICU4C) | |
Azure Pipelines (ICU4J) | |
Azure Pipelines (Exhaustive Tests) | |
Github Actions (Valgrind) | ![GHA CI Valgrind]](https://github.com/unicode-org/icu/actions/workflows/icu_valgrind.yml?query=workflow%3A%22GHA+CI%22+branch%3Amain) |
Fuzzing | |
OpenSSF Scorecard |
Subdirectories and Information
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependencies
Copyright & Licenses
Copyright © 2016-2024 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.
The project is released under LICENSE.
A CLA is required to contribute to this project - please refer to the CONTRIBUTING.md file (or start a Pull Request) for more information.