mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
ICU-5363 Fix last two check-ins.
X-SVN-Rev: 20231
This commit is contained in:
parent
d7167854cb
commit
e2eedc222d
1 changed files with 4 additions and 4 deletions
|
@ -145,10 +145,6 @@ public final class UConverterAlias {
|
|||
gStringTable = new byte[(int)tableArray[stringTableIndex]*2];
|
||||
gNormalizedStringTable = new byte[(int)tableArray[normalizedStringTableIndex]*2];
|
||||
|
||||
//if (gOptionTable[0] != STD_NORMALIZED) {
|
||||
// throw new IOException("Unsupported alias normalization");
|
||||
//}
|
||||
|
||||
reader.read(gConverterList, gTagList,
|
||||
gAliasList, gUntaggedConvArray,
|
||||
gTaggedAliasArray, gTaggedAliasLists,
|
||||
|
@ -156,6 +152,10 @@ public final class UConverterAlias {
|
|||
data = ByteBuffer.allocate(0); // dummy UDataMemory object in absence
|
||||
// of memory mapping
|
||||
|
||||
if (gOptionTable[0] != STD_NORMALIZED) {
|
||||
throw new IOException("Unsupported alias normalization");
|
||||
}
|
||||
|
||||
// agljport:todo umtx_lock(NULL);
|
||||
if (gAliasData == null) {
|
||||
gAliasData = data;
|
||||
|
|
Loading…
Add table
Reference in a new issue