jdk/src/java.base/unix/native/libjava/locale_str.h
author bchristi
Thu, 23 Jun 2016 14:14:06 -0700
changeset 39144 50f8aee9012d
parent 25859 3317bb8137f4
child 45829 991121499947
permissions -rw-r--r--
7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx] Summary: Replace JRS calls with Core Foundation calls Reviewed-by: naoto
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
/*
7668
d4a77089c587 6962318: Update copyright year
ohair
parents: 7248
diff changeset
     2
 * Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     7
 * published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     8
 * particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     9
 * by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    10
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
 * This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
 * version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
 * accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
 *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
 * You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
 * 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    21
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
 * questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    24
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
90ce3da70b43 Initial load
duke
parents:
diff changeset
    26
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
 * Mappings from partial locale names to full locale names
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
 static char *locale_aliases[] = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
    "ar", "ar_EG",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
    "be", "be_BY",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
    "bg", "bg_BG",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
    "br", "br_FR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
    "ca", "ca_ES",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
    "cs", "cs_CZ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
    "cz", "cs_CZ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
    "da", "da_DK",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
    "de", "de_DE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
    "el", "el_GR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
    "en", "en_US",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
    "eo", "eo",    /* no country for Esperanto */
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
    "es", "es_ES",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
    "et", "et_EE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
    "eu", "eu_ES",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    45
    "fi", "fi_FI",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
    "fr", "fr_FR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
    "ga", "ga_IE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
    "gl", "gl_ES",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
    "he", "iw_IL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
    "hr", "hr_HR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
#ifdef __linux__
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
    "hs", "en_US", // used on Linux, not clear what it stands for
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
    "hu", "hu_HU",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
    "id", "in_ID",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
    "in", "in_ID",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
    "is", "is_IS",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
    "it", "it_IT",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
    "iw", "iw_IL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
    "ja", "ja_JP",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
    "kl", "kl_GL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
    "ko", "ko_KR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
    "lt", "lt_LT",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
    "lv", "lv_LV",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
    "mk", "mk_MK",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
    "nl", "nl_NL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
    "no", "no_NO",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
    "pl", "pl_PL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
    "pt", "pt_PT",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
    "ro", "ro_RO",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
    "ru", "ru_RU",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
    "se", "se_NO",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
    "sk", "sk_SK",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
    "sl", "sl_SI",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
    "sq", "sq_AL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
    "sr", "sr_CS",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    77
    "su", "fi_FI",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
    "sv", "sv_SE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    79
    "th", "th_TH",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    80
    "tr", "tr_TR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
#ifdef __linux__
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
    "ua", "en_US", // used on Linux, not clear what it stands for
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
    "uk", "uk_UA",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
    "vi", "vi_VN",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
    "wa", "wa_BE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
    "zh", "zh_CN",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    88
#ifdef __linux__
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
    89
    "bokmal", "nb_NO",
7248
6a95f692e203 6997999: Remove duplicated entries from ISO language/country code tables
naoto
parents: 7017
diff changeset
    90
    "bokm\xE5l", "nb_NO",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
    "catalan", "ca_ES",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
    "croatian", "hr_HR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
    "czech", "cs_CZ",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
    "danish", "da_DK",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
    "dansk", "da_DK",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
    "deutsch", "de_DE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
    "dutch", "nl_NL",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
    98
    "eesti", "et_EE",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
    99
    "estonian", "et_EE",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
    "finnish", "fi_FI",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
    "fran\xE7\x61is", "fr_FR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
    "french", "fr_FR",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   103
    "galego", "gl_ES",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   104
    "galician", "gl_ES",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
    "german", "de_DE",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
    "greek", "el_GR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
    "hebrew", "iw_IL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
    "hrvatski", "hr_HR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
    "hungarian", "hu_HU",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
    "icelandic", "is_IS",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
    "italian", "it_IT",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
    "japanese", "ja_JP",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   113
    "korean", "ko_KR",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   114
    "lithuanian", "lt_LT",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
    "norwegian", "no_NO",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   116
    "nynorsk", "nn_NO",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
    "polish", "pl_PL",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
    "portuguese", "pt_PT",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
    "romanian", "ro_RO",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
    "russian", "ru_RU",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
    "slovak", "sk_SK",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
    "slovene", "sl_SI",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
    "slovenian", "sl_SI",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
    "spanish", "es_ES",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
    "swedish", "sv_SE",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   126
    "thai", "th_TH",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
    "turkish", "tr_TR",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
    "big5", "zh_TW.Big5",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
    "chinese", "zh_CN",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   131
    "iso_8859_1", "en_US.ISO8859-1",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   132
    "iso_8859_15", "en_US.ISO8859-15",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
    "japanese", "ja_JP",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   134
    "no_NY", "no_NO@nynorsk",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   135
    "sr_SP", "sr_YU",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
    "tchinese", "zh_TW",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
#endif
39144
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   138
#ifdef MACOSX
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   139
    "sr-Latn", "sr_CS",   // Mappings as done by old Apple JRS code
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   140
    "tk", "tk-Cyrl",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   141
    "tt-Latn", "tt-Cyrl",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   142
    "uz", "uz_UZ",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   143
    "uz-Arab", "uz_UZ",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   144
    "uz-Latn", "uz_UZ",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   145
    "zh-Hans", "zh_CN",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   146
    "zh-Hant", "zh_TW",
50f8aee9012d 7131356: (props) "No Java runtime present, requesting install" when creating VM from JNI [macosx]
bchristi
parents: 25859
diff changeset
   147
#endif
25400
f35efd853e7b 8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c
naoto
parents: 7668
diff changeset
   148
    "", "",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   149
 };
90ce3da70b43 Initial load
duke
parents:
diff changeset
   150
90ce3da70b43 Initial load
duke
parents:
diff changeset
   151
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   152
 * Linux/Solaris language string to ISO639 string mapping table.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   153
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   154
static char *language_names[] = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   155
    "C", "en",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   156
    "POSIX", "en",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   157
    "cz", "cs",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   158
    "he", "iw",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   159
#ifdef __linux__
90ce3da70b43 Initial load
duke
parents:
diff changeset
   160
    "hs", "en", // used on Linux, not clear what it stands for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   161
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   162
    "id", "in",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   163
    "sh", "sr", // sh is deprecated
90ce3da70b43 Initial load
duke
parents:
diff changeset
   164
    "su", "fi",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   165
#ifdef __linux__
90ce3da70b43 Initial load
duke
parents:
diff changeset
   166
    "ua", "en", // used on Linux, not clear what it stands for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   167
    "catalan", "ca",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   168
    "croatian", "hr",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   169
    "czech", "cs",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   170
    "danish", "da",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   171
    "dansk", "da",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   172
    "deutsch", "de",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   173
    "dutch", "nl",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   174
    "finnish", "fi",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   175
    "fran\xE7\x61is", "fr",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   176
    "french", "fr",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   177
    "german", "de",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   178
    "greek", "el",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   179
    "hebrew", "he",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   180
    "hrvatski", "hr",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   181
    "hungarian", "hu",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   182
    "icelandic", "is",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   183
    "italian", "it",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   184
    "japanese", "ja",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   185
    "norwegian", "no",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   186
    "polish", "pl",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   187
    "portuguese", "pt",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   188
    "romanian", "ro",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   189
    "russian", "ru",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   190
    "slovak", "sk",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   191
    "slovene", "sl",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   192
    "slovenian", "sl",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   193
    "spanish", "es",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   194
    "swedish", "sv",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   195
    "turkish", "tr",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   196
#else
90ce3da70b43 Initial load
duke
parents:
diff changeset
   197
    "chinese", "zh",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   198
    "japanese", "ja",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   199
    "korean", "ko",
90ce3da70b43 Initial load
duke
parents:
diff changeset
   200
#endif
25400
f35efd853e7b 8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c
naoto
parents: 7668
diff changeset
   201
    "", "",
7017
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   202
};
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   203
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   204
/*
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   205
 * Linux/Solaris script string to Java script name mapping table.
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   206
 */
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   207
static char *script_names[] = {
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   208
#ifdef __linux__
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   209
    "cyrillic", "Cyrl",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   210
    "devanagari", "Deva",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   211
    "iqtelif", "Latn",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   212
    "latin", "Latn",
f3bfa15db005 6989111: Incorrect default locale for New Zealand
naoto
parents: 5506
diff changeset
   213
#endif
25400
f35efd853e7b 8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c
naoto
parents: 7668
diff changeset
   214
    "", "",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   215
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   216
90ce3da70b43 Initial load
duke
parents:
diff changeset
   217
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   218
 * Linux/Solaris country string to ISO3166 string mapping table.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   219
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   220
static char *country_names[] = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   221
#ifdef __linux__
90ce3da70b43 Initial load
duke
parents:
diff changeset
   222
    "RN", "US", // used on Linux, not clear what it stands for
90ce3da70b43 Initial load
duke
parents:
diff changeset
   223
#endif
90ce3da70b43 Initial load
duke
parents:
diff changeset
   224
    "YU", "CS", // YU has been removed from ISO 3166
25400
f35efd853e7b 8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c
naoto
parents: 7668
diff changeset
   225
    "", "",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   226
};
90ce3da70b43 Initial load
duke
parents:
diff changeset
   227
90ce3da70b43 Initial load
duke
parents:
diff changeset
   228
/*
90ce3da70b43 Initial load
duke
parents:
diff changeset
   229
 * Linux/Solaris variant string to Java variant name mapping table.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   230
 */
90ce3da70b43 Initial load
duke
parents:
diff changeset
   231
static char *variant_names[] = {
90ce3da70b43 Initial load
duke
parents:
diff changeset
   232
    "nynorsk", "NY",
25400
f35efd853e7b 8048515: Read outside array bounds in jdk/src/solaris/native/java/lang/java_props_md.c
naoto
parents: 7668
diff changeset
   233
    "", "",
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
   234
};