commit | 9a6a64ce05b7257a85f8d04125428e4a081105b7 | [log] [tgz] |
---|---|---|
author | Yoshito Umaoka <yumaoka@users.noreply.github.com> | Wed Aug 19 15:08:25 2020 -0400 |
committer | Yoshito Umaoka <yumaoka@users.noreply.github.com> | Wed Aug 19 16:04:45 2020 -0400 |
tree | 38008412395c684351e3e6750457501d14d09f29 | |
parent | 5a714ae8f71f8b302ccc9604c4b192817b239b27 [diff] |
ICU-21219 Fix for Java version number overflow problem Internal API VersionInfo.javaVersion() maps Java version number to 4 integer fields. Each field must be up to 255. However, recent OpenJDK 8 update exceed this range. Luckily, we have only one reference in our code base for checking Java version. CharsetUTF16 uses maxBytePerChar = 4 for Java 5 and older, maxBytePerChar = 2 for newer Java version. Because we no longer support Java 5 runtime, we don't need this conditional check. We don't have any other uses of VersionInfo.javaVersion(). Java's version range is not what we can control, so I decided to delete the internal use only API completely.
This is the repository for the International Components for Unicode. The ICU project is under the stewardship of The Unicode Consortium.
master
branch)Build | Status |
---|---|
TravisCI | |
Azure Pipelines | |
Azure Pipelines (Exhaustive Tests) | |
Azure Pipelines (Valgrind ICU4C) | |
AppVeyor | |
Fuzzing |
icu4c/
ICU for C/C++icu4j/
ICU for Javatools/
Toolsvendor/
Vendor dependenciesPlease 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