mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-17 18:56:53 +00:00
ICU-5052 fixes for root locale
X-SVN-Rev: 19201
This commit is contained in:
parent
dfdc9d0391
commit
91b92f14c1
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
* Copyright (C) 2003-2005, International Business Machines Corporation and *
|
||||
* Copyright (C) 2003-2006, International Business Machines Corporation and *
|
||||
* others. All Rights Reserved. *
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
@ -85,6 +85,9 @@ class NumberFormatServiceShim extends NumberFormat.NumberFormatShim {
|
|||
// }
|
||||
|
||||
ULocale[] actualLoc = new ULocale[1];
|
||||
if (desiredLocale.equals(ULocale.ROOT)) {
|
||||
desiredLocale = ULocale.ROOT;
|
||||
}
|
||||
NumberFormat fmt = (NumberFormat)service.get(desiredLocale, choice,
|
||||
actualLoc);
|
||||
if (fmt == null) {
|
||||
|
|
Loading…
Add table
Reference in a new issue