jdk/test/java/nio/charset/Charset/RegisteredCharsets.java
author malenkov
Tue, 11 Sep 2012 10:58:39 +0400
changeset 13773 69665c88db93
parent 5506 202f599c92aa
child 29121 ab151045a89d
permissions -rw-r--r--
7193977: REGRESSION:Java 7's JavaBeans persistence ignoring the "transient" flag on properties Reviewed-by: rupashka
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4817
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     1
/*
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5167
diff changeset
     2
 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved.
4817
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     4
 *
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     7
 * published by the Free Software Foundation.
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     8
 *
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    13
 * accompanied this code).
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    14
 *
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    18
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5167
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5167
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 5167
diff changeset
    21
 * questions.
4817
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    22
 */
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    23
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    24
/* @test
5167
dbd299f8fdae 6902790: Converting/displaying HKSCs characters issue on Vista and Windows7
sherman
parents: 4817
diff changeset
    25
 * @bug 4473201 4696726 4652234 4482298 4784385 4966197 4267354 5015668 6911753
4817
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    26
 * @summary Check that registered charsets are actually registered
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    27
 */
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    28
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    29
import java.io.*;
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    30
import java.nio.*;
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    31
import java.nio.charset.*;
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    32
import java.util.*;
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    33
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    34
public class RegisteredCharsets {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    35
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    36
    static String [] ianaRegistered = {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    37
                            "US-ASCII", "UTF8", "Big5", "EUC-JP",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    38
                            "GBK", "GB18030", "ISO-2022-KR", "ISO-2022-JP",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    39
                            "GB2312",  // IANA preferred name for "EUC-CN"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    40
                            "ISO-8859-1", "ISO-8859-2", "ISO-8859-3",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    41
                            "ISO-8859-4", "ISO-8859-5", "ISO-8859-6",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    42
                            "ISO-8859-7", "ISO-8859-8", "ISO-8859-9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    43
                            "ISO-8859-13", "ISO-8859-15", "windows-1251",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    44
                            "windows-1252", "windows-1253", "windows-1254",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    45
                            "windows-1255", "windows-1256", "windows-31j",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    46
                            "Shift_JIS", "JIS_X0201", "JIS_X0212-1990",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    47
                            "TIS-620", "Big5-HKSCS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    48
                            "ISO-2022-CN",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    49
                            "IBM850",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    50
                            "IBM852",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    51
                            "IBM855",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    52
                            "IBM857",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    53
                            "IBM860",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    54
                            "IBM861",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    55
                            "IBM862",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    56
                            "IBM863",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    57
                            "IBM864",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    58
                            "IBM865",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    59
                            "IBM866",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    60
                            "IBM868",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    61
                            "IBM869",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    62
                            "IBM437",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    63
                            "IBM775",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    64
                            "IBM037",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    65
                            "IBM1026",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    66
                            "IBM273",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    67
                            "IBM277",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    68
                            "IBM278",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    69
                            "IBM280",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    70
                            "IBM284",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    71
                            "IBM285",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    72
                            "IBM297",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    73
                            "IBM420",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    74
                            "IBM424",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    75
                            "IBM500",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    76
                            "IBM-Thai",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    77
                            "IBM870",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    78
                            "IBM871",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    79
                            "IBM918",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    80
                            "IBM1047",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    81
                            "IBM01140",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    82
                            "IBM01141",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    83
                            "IBM01142",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    84
                            "IBM01143",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    85
                            "IBM01144",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    86
                            "IBM01145",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    87
                            "IBM01146",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    88
                            "IBM01147",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    89
                            "IBM01148",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    90
                            "IBM01149",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    91
                            "IBM00858" };
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    92
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    93
    static String [] ianaUnRegistered = {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    94
                            "x-EUC-TW", "x-ISCII91",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    95
                            "x-windows-949", "x-windows-950",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    96
                            "x-mswin-936", "x-JIS0208",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    97
                            "x-ISO-8859-11",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    98
                            "x-windows-874",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
    99
                            "x-PCK", "x-JISAutoDetect", "x-Johab",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   100
                            "x-MS950-HKSCS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   101
                            "x-Big5-Solaris",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   102
                            "x-ISO-2022-CN-CNS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   103
                            "x-ISO-2022-CN-GB",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   104
                            "x-MacArabic",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   105
                            "x-MacCentralEurope",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   106
                            "x-MacCroatian",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   107
                            "x-MacCyrillic",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   108
                            "x-MacDingbat",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   109
                            "x-MacGreek",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   110
                            "x-MacHebrew",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   111
                            "x-MacIceland",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   112
                            "x-MacRoman",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   113
                            "x-MacRomania",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   114
                            "x-MacSymbol",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   115
                            "x-MacThai",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   116
                            "x-MacTurkish",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   117
                            "x-MacUkraine",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   118
                            "x-IBM942",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   119
                            "x-IBM942C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   120
                            "x-IBM943",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   121
                            "x-IBM943C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   122
                            "x-IBM948",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   123
                            "x-IBM950",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   124
                            "x-IBM930",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   125
                            "x-IBM935",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   126
                            "x-IBM937",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   127
                            "x-IBM856",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   128
                            "x-IBM874",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   129
                            "x-IBM737",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   130
                            "x-IBM1006",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   131
                            "x-IBM1046",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   132
                            "x-IBM1098",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   133
                            "x-IBM1025",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   134
                            "x-IBM1112",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   135
                            "x-IBM1122",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   136
                            "x-IBM1123",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   137
                            "x-IBM1124",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   138
                            "x-IBM875",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   139
                            "x-IBM921",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   140
                            "x-IBM922",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   141
                            "x-IBM1097",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   142
                            "x-IBM949",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   143
                            "x-IBM949C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   144
                            "x-IBM939",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   145
                            "x-IBM933",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   146
                            "x-IBM1381",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   147
                            "x-IBM1383",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   148
                            "x-IBM970",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   149
                            "x-IBM964",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   150
                            "x-IBM33722",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   151
                            "x-IBM1006",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   152
                            "x-IBM1046",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   153
                            "x-IBM1097",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   154
                            "x-IBM1098",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   155
                            "x-IBM1112",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   156
                            "x-IBM1122",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   157
                            "x-IBM1123",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   158
                            "x-IBM1124",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   159
                            "x-IBM33722",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   160
                            "x-IBM737",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   161
                            "x-IBM856",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   162
                            "x-IBM874",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   163
                            "x-IBM875",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   164
                            "x-IBM922",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   165
                            "x-IBM933",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   166
                            "x-IBM964" };
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   167
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   168
    static void check(String csn, boolean testRegistered) throws Exception {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   169
        if (!Charset.forName(csn).isRegistered() && testRegistered)
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   170
                throw new Exception("Not registered: " + csn);
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   171
        else if (Charset.forName(csn).isRegistered() && !testRegistered)
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   172
                throw new Exception("Registered: " + csn + "should be unregistered");
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   173
    }
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   174
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   175
    static void aliasCheck(String canonicalName, String[] aliasNames) throws Exception
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   176
    {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   177
        for (int k = 0; k < aliasNames.length; k++ ) {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   178
            Charset cs = Charset.forName(aliasNames[k]);
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   179
            if (!cs.name().equals(canonicalName)) {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   180
                throw new Exception("Unexpected Canonical name " + canonicalName);
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   181
            }
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   182
        }
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   183
    }
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   184
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   185
    public static void main(String[] args) throws Exception {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   186
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   187
        for (int i = 0; i < ianaRegistered.length ; i++)
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   188
            check(ianaRegistered[i], true);
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   189
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   190
        for (int i = 0; i < ianaUnRegistered.length ; i++)
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   191
            check(ianaUnRegistered[i], false);
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   192
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   193
        // Check aliases registered with IANA for all NIO supported
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   194
        // Charset implementations.
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   195
        //
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   196
        // The aliases below are in sync with the IANA registered charset
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   197
        // document at: http://www.iana.org/assignments/character-sets
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   198
        // Last updated 7/25/2002
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   199
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   200
        aliasCheck("US-ASCII",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   201
                new String[] {"ascii","ANSI_X3.4-1968",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   202
                "iso-ir-6","ANSI_X3.4-1986", "ISO_646.irv:1991",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   203
                "ASCII", "ISO646-US","us","IBM367","cp367",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   204
                "csASCII", "default"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   205
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   206
        aliasCheck("UTF-8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   207
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   208
                    "UTF8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   209
                    "unicode-1-1-utf-8"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   210
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   211
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   212
        aliasCheck("UTF-16",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   213
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   214
                    "UTF_16",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   215
                    "utf16"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   216
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   217
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   218
        aliasCheck("UTF-16BE",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   219
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   220
                    "UTF_16BE",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   221
                    "ISO-10646-UCS-2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   222
                    "X-UTF-16BE",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   223
                    "UnicodeBigUnmarked"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   224
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   225
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   226
        aliasCheck("UTF-16LE",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   227
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   228
                    "UTF_16LE",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   229
                    "X-UTF-16LE",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   230
                    "UnicodeLittleUnmarked"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   231
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   232
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   233
        aliasCheck("Big5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   234
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   235
                    "csBig5"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   236
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   237
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   238
        aliasCheck("Big5-HKSCS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   239
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   240
                    "Big5_HKSCS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   241
                    "big5hk",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   242
                    "big5-hkscs",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   243
                    "big5hkscs"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   244
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   245
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   246
        aliasCheck("x-MS950-HKSCS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   247
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   248
                    "MS950_HKSCS"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   249
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   250
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   251
        aliasCheck("GB18030",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   252
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   253
                    "gb18030-2000"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   254
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   255
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   256
        aliasCheck("ISO-2022-KR", new String[] {"csISO2022KR"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   257
        aliasCheck("ISO-2022-JP", new String[] {"csISO2022JP"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   258
        aliasCheck("EUC-KR", new String[] { "csEUCKR"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   259
        aliasCheck("ISO-8859-1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   260
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   261
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   262
                    // IANA aliases
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   263
                    "iso-ir-100",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   264
                    "ISO_8859-1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   265
                    "latin1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   266
                    "l1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   267
                    "IBM819",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   268
                    "cp819",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   269
                    "csISOLatin1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   270
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   271
                    // JDK historical aliases
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   272
                    "819",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   273
                    "IBM-819",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   274
                    "ISO8859_1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   275
                    "ISO_8859-1:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   276
                    "ISO_8859_1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   277
                    "8859_1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   278
                    "ISO8859-1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   279
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   280
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   281
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   282
        aliasCheck("ISO-8859-2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   283
            new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   284
                "ISO_8859-2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   285
                "ISO_8859-2:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   286
                "iso-ir-101",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   287
                "latin2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   288
                "l2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   289
                "8859_2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   290
                "iso_8859-2:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   291
                "iso8859-2",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   292
                "ibm912",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   293
                "ibm-912",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   294
                "cp912",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   295
                "912",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   296
                "csISOLatin2"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   297
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   298
        aliasCheck("ISO-8859-3",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   299
                new String[] {"latin3",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   300
                "ISO_8859-3:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   301
                "iso-ir-109",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   302
                "l3",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   303
                "8859_3",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   304
                "iso_8859-3:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   305
                "iso8859-3",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   306
                "ibm913",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   307
                "ibm-913",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   308
                "cp913",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   309
                "913",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   310
                "csISOLatin3"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   311
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   312
        aliasCheck("ISO-8859-4",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   313
                new String[] {"csISOLatin4",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   314
                    "ISO_8859-4:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   315
                    "iso-ir-110",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   316
                    "latin4",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   317
                    "8859_4",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   318
                    "iso_8859-4:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   319
                    "iso8859-4",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   320
                    "ibm914",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   321
                    "ibm-914",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   322
                    "cp914",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   323
                    "914",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   324
                    "l4"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   325
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   326
        aliasCheck("ISO-8859-5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   327
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   328
                    "iso8859_5", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   329
                    "8859_5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   330
                    "iso-ir-144",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   331
                    "ISO_8859-5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   332
                    "ISO_8859-5:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   333
                    "ISO8859-5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   334
                    "cyrillic",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   335
                    "ibm915",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   336
                    "ibm-915",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   337
                    "915",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   338
                    "cp915",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   339
                    "csISOLatinCyrillic"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   340
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   341
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   342
        aliasCheck("ISO-8859-6",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   343
                new String[] {"ISO_8859-6:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   344
                "iso-ir-127",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   345
                "ISO_8859-6",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   346
                "ECMA-114",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   347
                "ASMO-708",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   348
                "arabic",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   349
                "8859_6",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   350
                "iso_8859-6:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   351
                "iso8859-6",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   352
                "ibm1089",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   353
                "ibm-1089",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   354
                "cp1089",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   355
                "1089",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   356
                "csISOLatinArabic"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   357
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   358
        aliasCheck("ISO-8859-7",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   359
                new String[] {"ISO_8859-7:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   360
                "iso-ir-126",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   361
                "ISO_8859-7",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   362
                "ELOT_928",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   363
                "ECMA-118",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   364
                "greek",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   365
                "greek8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   366
                "8859_7",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   367
                "iso_8859-7:1987",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   368
                "iso8859-7",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   369
                "ibm813",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   370
                "ibm-813",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   371
                "cp813",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   372
                "813",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   373
                "csISOLatinGreek"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   374
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   375
        aliasCheck("ISO-8859-8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   376
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   377
                "ISO_8859-8:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   378
                "iso-ir-138",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   379
                "ISO_8859-8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   380
                "hebrew",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   381
                "8859_8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   382
                "iso_8859-8:1988",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   383
                "iso8859-8",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   384
                "ibm916",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   385
                "ibm-916",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   386
                "cp916",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   387
                "916",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   388
                "csISOLatinHebrew"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   389
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   390
        aliasCheck("ISO-8859-9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   391
                new String[] {"ISO_8859-9:1989",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   392
                "iso-ir-148",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   393
                "ISO_8859-9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   394
                "latin5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   395
                "l5",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   396
                "8859_9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   397
                "iso8859-9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   398
                "ibm920",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   399
                "ibm-920",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   400
                "cp920",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   401
                "920",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   402
                "csISOLatin5"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   403
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   404
        aliasCheck("ISO-8859-13",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   405
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   406
                    "iso8859_13", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   407
                    "iso_8859-13",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   408
                    "8859_13",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   409
                    "ISO8859-13"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   410
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   411
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   412
        aliasCheck("ISO-8859-15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   413
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   414
                    // IANA alias
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   415
                    "ISO_8859-15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   416
                    // JDK historical aliases
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   417
                    "8859_15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   418
                    "ISO-8859-15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   419
                    "ISO_8859-15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   420
                    "ISO8859-15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   421
                    "ISO8859_15",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   422
                    "IBM923",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   423
                    "IBM-923",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   424
                    "cp923",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   425
                    "923",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   426
                    "LATIN0",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   427
                    "LATIN9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   428
                    "L9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   429
                    "csISOlatin0",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   430
                    "csISOlatin9",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   431
                    "ISO8859_15_FDIS"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   432
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   433
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   434
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   435
        aliasCheck("JIS_X0212-1990",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   436
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   437
                "iso-ir-159",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   438
                "csISO159JISX02121990"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   439
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   440
        aliasCheck("JIS_X0201",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   441
                new String[]{
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   442
                "X0201",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   443
                "csHalfWidthKatakana"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   444
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   445
        aliasCheck("KOI8-R",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   446
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   447
                "KOI8_R",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   448
                "csKOI8R"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   449
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   450
        aliasCheck("GBK",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   451
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   452
                "windows-936"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   453
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   454
        aliasCheck("Shift_JIS",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   455
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   456
                "MS_Kanji",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   457
                "csShiftJIS"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   458
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   459
        aliasCheck("EUC-JP",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   460
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   461
                "Extended_UNIX_Code_Packed_Format_for_Japanese",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   462
                "csEUCPkdFmtJapanese"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   463
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   464
        aliasCheck("Big5", new String[] {"csBig5"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   465
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   466
        aliasCheck("windows-31j", new String[] {"csWindows31J"});
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   467
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   468
        aliasCheck("x-iso-8859-11",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   469
                    new String[] { "iso-8859-11", "iso8859_11" });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   470
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   471
        aliasCheck("windows-1250",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   472
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   473
                    "cp1250",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   474
                    "cp5346"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   475
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   476
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   477
        aliasCheck("windows-1251",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   478
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   479
                    "cp1251",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   480
                    "cp5347",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   481
                    "ansi-1251"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   482
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   483
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   484
        aliasCheck("windows-1252",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   485
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   486
                    "cp1252",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   487
                    "cp5348"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   488
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   489
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   490
        aliasCheck("windows-1253",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   491
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   492
                    "cp1253",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   493
                    "cp5349"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   494
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   495
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   496
        aliasCheck("windows-1254",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   497
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   498
                    "cp1254",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   499
                    "cp5350"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   500
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   501
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   502
        aliasCheck("windows-1255",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   503
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   504
                    "cp1255"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   505
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   506
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   507
        aliasCheck("windows-1256",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   508
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   509
                    "cp1256"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   510
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   511
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   512
        aliasCheck("windows-1257",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   513
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   514
                    "cp1257",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   515
                    "cp5353"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   516
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   517
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   518
        aliasCheck("windows-1258",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   519
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   520
                    "cp1258"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   521
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   522
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   523
        aliasCheck("x-windows-874",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   524
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   525
                    "ms874", "ms-874", "windows-874" });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   526
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   527
        aliasCheck("GB2312",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   528
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   529
                    "x-EUC-CN",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   530
                    "gb2312-80",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   531
                    "gb2312-1980",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   532
                    "euc-cn",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   533
                    "euccn" });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   534
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   535
        aliasCheck("x-IBM942" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   536
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   537
                    "cp942", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   538
                    "ibm942",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   539
                    "ibm-942",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   540
                    "942"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   541
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   542
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   543
        aliasCheck("x-IBM942C" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   544
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   545
                    "cp942C", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   546
                    "ibm942C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   547
                    "ibm-942C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   548
                    "942C"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   549
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   550
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   551
        aliasCheck("x-IBM943" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   552
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   553
                    "cp943", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   554
                    "ibm943",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   555
                    "ibm-943",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   556
                    "943"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   557
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   558
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   559
        aliasCheck("x-IBM943C" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   560
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   561
                    "cp943c", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   562
                    "ibm943C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   563
                    "ibm-943C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   564
                    "943C"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   565
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   566
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   567
        aliasCheck("x-IBM948" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   568
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   569
                    "cp948", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   570
                    "ibm948",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   571
                    "ibm-948",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   572
                    "948"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   573
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   574
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   575
        aliasCheck("x-IBM950" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   576
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   577
                    "cp950", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   578
                    "ibm950",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   579
                    "ibm-950",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   580
                    "950"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   581
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   582
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   583
        aliasCheck("x-IBM930" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   584
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   585
                    "cp930", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   586
                    "ibm930",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   587
                    "ibm-930",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   588
                    "930"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   589
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   590
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   591
        aliasCheck("x-IBM935" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   592
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   593
                    "cp935", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   594
                    "ibm935",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   595
                    "ibm-935",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   596
                    "935"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   597
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   598
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   599
        aliasCheck("x-IBM937" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   600
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   601
                    "cp937", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   602
                    "ibm937",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   603
                    "ibm-937",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   604
                    "937"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   605
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   606
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   607
        aliasCheck("IBM850" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   608
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   609
                    "cp850", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   610
                    "ibm-850",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   611
                    "ibm850",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   612
                    "850",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   613
                    "cspc850multilingual"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   614
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   615
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   616
        aliasCheck("IBM852" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   617
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   618
                    "cp852", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   619
                    "ibm852",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   620
                    "ibm-852",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   621
                    "852",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   622
                    "csPCp852"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   623
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   624
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   625
        aliasCheck("IBM855" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   626
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   627
                    "cp855", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   628
                    "ibm-855",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   629
                    "ibm855",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   630
                    "855",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   631
                    "cspcp855"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   632
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   633
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   634
        aliasCheck("x-IBM856" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   635
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   636
                    "cp856", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   637
                    "ibm-856",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   638
                    "ibm856",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   639
                    "856"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   640
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   641
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   642
        aliasCheck("IBM857" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   643
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   644
                    "cp857", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   645
                    "ibm857",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   646
                    "ibm-857",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   647
                    "857",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   648
                    "csIBM857"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   649
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   650
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   651
        aliasCheck("IBM860" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   652
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   653
                    "cp860", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   654
                    "ibm860",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   655
                    "ibm-860",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   656
                    "860",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   657
                    "csIBM860"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   658
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   659
        aliasCheck("IBM861" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   660
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   661
                    "cp861", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   662
                    "ibm861",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   663
                    "ibm-861",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   664
                    "861",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   665
                    "csIBM861"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   666
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   667
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   668
        aliasCheck("IBM862" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   669
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   670
                    "cp862", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   671
                    "ibm862",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   672
                    "ibm-862",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   673
                    "862",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   674
                    "csIBM862"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   675
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   676
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   677
        aliasCheck("IBM863" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   678
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   679
                    "cp863", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   680
                    "ibm863",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   681
                    "ibm-863",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   682
                    "863",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   683
                    "csIBM863"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   684
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   685
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   686
        aliasCheck("IBM864" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   687
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   688
                    "cp864", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   689
                    "ibm864",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   690
                    "ibm-864",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   691
                    "864",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   692
                    "csIBM864"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   693
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   694
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   695
        aliasCheck("IBM865" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   696
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   697
                    "cp865", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   698
                    "ibm865",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   699
                    "ibm-865",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   700
                    "865",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   701
                    "csIBM865"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   702
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   703
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   704
        aliasCheck("IBM866" , new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   705
                    "cp866", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   706
                    "ibm866",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   707
                    "ibm-866",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   708
                    "866",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   709
                    "csIBM866"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   710
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   711
        aliasCheck("IBM868" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   712
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   713
                    "cp868", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   714
                    "ibm868",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   715
                    "ibm-868",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   716
                    "868",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   717
                    "cp-ar",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   718
                    "csIBM868"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   719
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   720
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   721
        aliasCheck("IBM869" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   722
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   723
                    "cp869", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   724
                    "ibm869",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   725
                    "ibm-869",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   726
                    "869",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   727
                    "cp-gr",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   728
                    "csIBM869"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   729
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   730
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   731
        aliasCheck("IBM437" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   732
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   733
                    "cp437", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   734
                    "ibm437",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   735
                    "ibm-437",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   736
                    "437",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   737
                    "cspc8codepage437",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   738
                    "windows-437"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   739
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   740
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   741
        aliasCheck("x-IBM874" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   742
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   743
                    "cp874", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   744
                    "ibm874",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   745
                    "ibm-874",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   746
                    "874"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   747
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   748
        aliasCheck("x-IBM737" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   749
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   750
                    "cp737", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   751
                    "ibm737",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   752
                    "ibm-737",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   753
                    "737"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   754
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   755
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   756
        aliasCheck("IBM775" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   757
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   758
                    "cp775", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   759
                    "ibm775",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   760
                    "ibm-775",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   761
                    "775"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   762
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   763
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   764
        aliasCheck("x-IBM921" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   765
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   766
                    "cp921", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   767
                    "ibm921",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   768
                    "ibm-921",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   769
                    "921"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   770
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   771
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   772
        aliasCheck("x-IBM1006" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   773
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   774
                    "cp1006", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   775
                    "ibm1006",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   776
                    "ibm-1006",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   777
                    "1006"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   778
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   779
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   780
        aliasCheck("x-IBM1046" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   781
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   782
                    "cp1046", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   783
                    "ibm1046",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   784
                    "ibm-1046",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   785
                    "1046"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   786
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   787
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   788
        aliasCheck("IBM1047" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   789
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   790
                    "cp1047", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   791
                    "ibm-1047",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   792
                    "1047"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   793
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   794
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   795
        aliasCheck("x-IBM1098" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   796
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   797
                    "cp1098", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   798
                    "ibm1098",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   799
                    "ibm-1098",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   800
                    "1098",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   801
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   802
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   803
        aliasCheck("IBM037" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   804
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   805
                    "cp037", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   806
                    "ibm037",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   807
                    "csIBM037",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   808
                    "cs-ebcdic-cp-us",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   809
                    "cs-ebcdic-cp-ca",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   810
                    "cs-ebcdic-cp-wt",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   811
                    "cs-ebcdic-cp-nl",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   812
                    "ibm-037",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   813
                    "ibm-37",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   814
                    "cpibm37",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   815
                    "037"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   816
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   817
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   818
        aliasCheck("x-IBM1025" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   819
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   820
                    "cp1025", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   821
                    "ibm1025",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   822
                    "ibm-1025",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   823
                    "1025"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   824
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   825
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   826
        aliasCheck("IBM1026" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   827
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   828
                    "cp1026", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   829
                    "ibm1026",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   830
                    "ibm-1026",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   831
                    "1026"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   832
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   833
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   834
        aliasCheck("x-IBM1112" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   835
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   836
                    "cp1112", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   837
                    "ibm1112",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   838
                    "ibm-1112",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   839
                    "1112"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   840
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   841
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   842
        aliasCheck("x-IBM1122" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   843
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   844
                    "cp1122", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   845
                    "ibm1122",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   846
                    "ibm-1122",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   847
                    "1122"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   848
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   849
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   850
        aliasCheck("x-IBM1123" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   851
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   852
                    "cp1123", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   853
                    "ibm1123",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   854
                    "ibm-1123",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   855
                    "1123"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   856
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   857
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   858
        aliasCheck("x-IBM1124" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   859
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   860
                    "cp1124", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   861
                    "ibm1124",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   862
                    "ibm-1124",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   863
                    "1124"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   864
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   865
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   866
        aliasCheck("IBM273" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   867
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   868
                    "cp273", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   869
                    "ibm273",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   870
                    "ibm-273",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   871
                    "273"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   872
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   873
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   874
        aliasCheck("IBM277" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   875
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   876
                    "cp277", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   877
                    "ibm277",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   878
                    "ibm-277",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   879
                    "277"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   880
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   881
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   882
        aliasCheck("IBM278" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   883
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   884
                    "cp278", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   885
                    "ibm278",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   886
                    "ibm-278",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   887
                    "278",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   888
                    "ebcdic-sv",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   889
                    "ebcdic-cp-se",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   890
                    "csIBM278"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   891
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   892
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   893
        aliasCheck("IBM280" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   894
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   895
                    "cp280", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   896
                    "ibm280",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   897
                    "ibm-280",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   898
                    "280"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   899
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   900
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   901
        aliasCheck("IBM284" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   902
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   903
                    "cp284", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   904
                    "ibm284",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   905
                    "ibm-284",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   906
                    "284",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   907
                    "csIBM284",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   908
                    "cpibm284"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   909
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   910
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   911
        aliasCheck("IBM285" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   912
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   913
                    "cp285", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   914
                    "ibm285",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   915
                    "ibm-285",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   916
                    "285",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   917
                    "ebcdic-cp-gb",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   918
                    "ebcdic-gb",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   919
                    "csIBM285",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   920
                    "cpibm285"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   921
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   922
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   923
        aliasCheck("IBM297" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   924
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   925
                    "cp297", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   926
                    "ibm297",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   927
                    "ibm-297",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   928
                    "297",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   929
                    "ebcdic-cp-fr",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   930
                    "cpibm297",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   931
                    "csIBM297",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   932
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   933
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   934
        aliasCheck("IBM420" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   935
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   936
                    "cp420", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   937
                    "ibm420",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   938
                    "ibm-420",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   939
                    "ebcdic-cp-ar1",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   940
                    "420",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   941
                    "csIBM420"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   942
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   943
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   944
        aliasCheck("IBM424" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   945
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   946
                    "cp424", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   947
                    "ibm424",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   948
                    "ibm-424",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   949
                    "424",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   950
                    "ebcdic-cp-he",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   951
                    "csIBM424"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   952
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   953
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   954
        aliasCheck("IBM500" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   955
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   956
                    "cp500", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   957
                    "ibm500",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   958
                    "ibm-500",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   959
                    "500",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   960
                    "ebcdic-cp-ch",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   961
                    "ebcdic-cp-bh",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   962
                    "csIBM500"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   963
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   964
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   965
        aliasCheck("IBM-Thai" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   966
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   967
                    "cp838", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   968
                    "ibm838",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   969
                    "ibm-838",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   970
                    "ibm838",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   971
                    "838"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   972
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   973
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   974
        aliasCheck("IBM870" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   975
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   976
                    "cp870", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   977
                    "ibm870",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   978
                    "ibm-870",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   979
                    "870",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   980
                    "ebcdic-cp-roece",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   981
                    "ebcdic-cp-yu",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   982
                    "csIBM870"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   983
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   984
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   985
        aliasCheck("IBM871" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   986
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   987
                    "cp871", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   988
                    "ibm871",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   989
                    "ibm-871",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   990
                    "871",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   991
                    "ebcdic-cp-is",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   992
                    "csIBM871"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   993
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   994
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   995
        aliasCheck("x-IBM875" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   996
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   997
                    "cp875", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   998
                    "ibm875",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
   999
                    "ibm-875",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1000
                    "875"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1001
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1002
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1003
        aliasCheck("IBM918" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1004
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1005
                    "cp918", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1006
                    "ibm-918",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1007
                    "918",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1008
                    "ebcdic-cp-ar2"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1009
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1010
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1011
        aliasCheck("x-IBM922" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1012
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1013
                    "cp922", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1014
                    "ibm922",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1015
                    "ibm-922",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1016
                    "922"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1017
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1018
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1019
        aliasCheck("x-IBM1097" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1020
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1021
                    "cp1097", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1022
                    "ibm1097",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1023
                    "ibm-1097",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1024
                    "1097"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1025
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1026
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1027
        aliasCheck("x-IBM949" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1028
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1029
                    "cp949", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1030
                    "ibm949",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1031
                    "ibm-949",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1032
                    "949"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1033
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1034
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1035
        aliasCheck("x-IBM949C" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1036
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1037
                    "cp949C", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1038
                    "ibm949C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1039
                    "ibm-949C",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1040
                    "949C"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1041
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1042
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1043
        aliasCheck("x-IBM939" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1044
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1045
                    "cp939", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1046
                    "ibm939",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1047
                    "ibm-939",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1048
                    "939"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1049
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1050
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1051
        aliasCheck("x-IBM933" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1052
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1053
                    "cp933", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1054
                    "ibm933",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1055
                    "ibm-933",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1056
                    "933"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1057
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1058
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1059
        aliasCheck("x-IBM1381" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1060
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1061
                    "cp1381", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1062
                    "ibm1381",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1063
                    "ibm-1381",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1064
                    "1381"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1065
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1066
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1067
        aliasCheck("x-IBM1383" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1068
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1069
                    "cp1383", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1070
                    "ibm1383",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1071
                    "ibm-1383",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1072
                    "1383"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1073
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1074
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1075
        aliasCheck("x-IBM970" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1076
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1077
                    "cp970", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1078
                    "ibm970",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1079
                    "ibm-970",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1080
                    "ibm-eucKR",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1081
                    "970"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1082
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1083
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1084
        aliasCheck("x-IBM964" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1085
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1086
                    "cp964", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1087
                    "ibm964",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1088
                    "ibm-964",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1089
                    "964"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1090
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1091
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1092
        aliasCheck("x-IBM33722" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1093
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1094
                    "cp33722", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1095
                    "ibm33722",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1096
                    "ibm-33722",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1097
                    "ibm-5050", // from IBM alias list
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1098
                    "ibm-33722_vascii_vpua", // from IBM alias list
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1099
                    "33722"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1100
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1101
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1102
        aliasCheck("IBM01140" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1103
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1104
                    "cp1140", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1105
                    "ccsid01140",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1106
                    "cp01140",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1107
                    // "ebcdic-us-037+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1108
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1109
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1110
        aliasCheck("IBM01141" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1111
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1112
                    "cp1141", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1113
                    "ccsid01141",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1114
                    "cp01141",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1115
                    // "ebcdic-de-273+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1116
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1117
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1118
        aliasCheck("IBM01142" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1119
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1120
                    "cp1142", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1121
                    "ccsid01142",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1122
                    "cp01142",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1123
                    // "ebcdic-no-277+euro",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1124
                    // "ebcdic-dk-277+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1125
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1126
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1127
        aliasCheck("IBM01143" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1128
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1129
                    "cp1143", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1130
                    "ccsid01143",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1131
                    "cp01143",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1132
                    // "ebcdic-fi-278+euro",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1133
                    // "ebcdic-se-278+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1134
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1135
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1136
        aliasCheck("IBM01144" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1137
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1138
                    "cp1144", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1139
                    "ccsid01144",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1140
                    "cp01144",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1141
                    // "ebcdic-it-280+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1142
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1143
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1144
        aliasCheck("IBM01145" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1145
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1146
                    "cp1145", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1147
                    "ccsid01145",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1148
                    "cp01145",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1149
                    // "ebcdic-es-284+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1150
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1151
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1152
        aliasCheck("IBM01146" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1153
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1154
                    "cp1146", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1155
                    "ccsid01146",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1156
                    "cp01146",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1157
                    // "ebcdic-gb-285+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1158
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1159
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1160
        aliasCheck("IBM01147" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1161
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1162
                    "cp1147", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1163
                    "ccsid01147",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1164
                    "cp01147",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1165
                    // "ebcdic-fr-277+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1166
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1167
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1168
        aliasCheck("IBM01148" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1169
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1170
                    "cp1148", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1171
                    "ccsid01148",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1172
                    "cp01148",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1173
                    // "ebcdic-international-500+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1174
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1175
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1176
        aliasCheck("IBM01149" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1177
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1178
                    "cp1149", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1179
                    "ccsid01149",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1180
                    "cp01149",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1181
                    // "ebcdic-s-871+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1182
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1183
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1184
        aliasCheck("IBM00858" ,
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1185
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1186
                    "cp858", // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1187
                    "ccsid00858",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1188
                    "cp00858",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1189
                    // "PC-Multilingual-850+euro"
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1190
                } );
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1191
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1192
        aliasCheck("x-MacRoman",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1193
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1194
                    "MacRoman" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1195
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1196
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1197
        aliasCheck("x-MacCentralEurope",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1198
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1199
                    "MacCentralEurope" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1200
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1201
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1202
        aliasCheck("x-MacCroatian",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1203
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1204
                    "MacCroatian" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1205
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1206
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1207
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1208
        aliasCheck("x-MacCroatian",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1209
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1210
                    "MacCroatian" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1211
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1212
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1213
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1214
        aliasCheck("x-MacGreek",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1215
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1216
                    "MacGreek" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1217
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1218
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1219
        aliasCheck("x-MacCyrillic",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1220
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1221
                    "MacCyrillic" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1222
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1223
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1224
        aliasCheck("x-MacUkraine",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1225
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1226
                    "MacUkraine" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1227
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1228
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1229
        aliasCheck("x-MacTurkish",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1230
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1231
                    "MacTurkish" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1232
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1233
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1234
        aliasCheck("x-MacArabic",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1235
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1236
                    "MacArabic" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1237
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1238
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1239
        aliasCheck("x-MacHebrew",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1240
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1241
                    "MacHebrew" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1242
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1243
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1244
        aliasCheck("x-MacIceland",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1245
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1246
                    "MacIceland" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1247
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1248
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1249
        aliasCheck("x-MacRomania",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1250
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1251
                    "MacRomania" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1252
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1253
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1254
        aliasCheck("x-MacThai",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1255
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1256
                    "MacThai" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1257
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1258
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1259
        aliasCheck("x-MacSymbol",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1260
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1261
                    "MacSymbol" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1262
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1263
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1264
        aliasCheck("x-MacDingbat",
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1265
                new String[] {
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1266
                    "MacDingbat" // JDK historical
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1267
                });
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1268
    }
67f425ac409b 6920732: opensource test/java/nio/charset
sherman
parents:
diff changeset
  1269
}