test/jdk/sun/nio/cs/TestIBMBugs.java
author jiangli
Wed, 27 Sep 2017 17:55:20 -0400
changeset 47548 664b9d44db74
parent 47216 71c04702a3d5
child 50992 faf1cd52a5b7
permissions -rw-r--r--
8068314: "Java fields that are currently set during shared space dumping" comment is incorrect Summary: CDS dump time should also initialize preallocated out_of_memory error messages. Reviewed-by: iklam, hseigel
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     1
/*
23010
6dadb192ad81 8029235: Update copyright year to match last edit in jdk8 jdk repository for 2013
lana
parents: 21309
diff changeset
     2
 * Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     4
 *
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     7
 * published by the Free Software Foundation.
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     8
 *
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    13
 * accompanied this code).
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    14
 *
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    18
 *
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2921
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2921
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2921
diff changeset
    21
 * questions.
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    22
 */
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    23
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    24
/* @test
44115
bb4e971bf5d4 8176195: Fix misc module dependencies in jdk_core tests
xiaofeya
parents: 23010
diff changeset
    25
 * @bug 6371437 6371422 6371416 6371619 5058184 6371431 6639450 6569191 6577466
bb4e971bf5d4 8176195: Fix misc module dependencies in jdk_core tests
xiaofeya
parents: 23010
diff changeset
    26
 * @summary Check if the problems reported in above bugs have been fixed
bb4e971bf5d4 8176195: Fix misc module dependencies in jdk_core tests
xiaofeya
parents: 23010
diff changeset
    27
 * @modules jdk.charsets
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    28
 */
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    29
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    30
import java.io.*;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    31
import java.nio.*;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    32
import java.nio.charset.*;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    33
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    34
public class TestIBMBugs {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    35
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    36
    private static void bug6371437() throws Exception {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    37
        CharsetEncoder converter = Charset.forName("Cp933").newEncoder();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    38
        converter = converter.onMalformedInput(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    39
        converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    40
        CharBuffer in = CharBuffer.wrap(new char[] { (char)4352 });
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    41
        try {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    42
              ByteBuffer out = converter.encode(in);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    43
        } catch (CharacterCodingException e) { }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    44
    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    45
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    46
    private static void bug6371422() throws Exception {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    47
        String[] charsets = { "Cp949", "Cp949C" };
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    48
        for (int n = 0; n < charsets.length; n++) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    49
            String charset = charsets[n];
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    50
            CharsetEncoder converter = Charset.forName(charset).newEncoder();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    51
            converter = converter.onMalformedInput(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    52
            converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    53
            int errors = 0;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    54
            for (int i = 1; i < 0x1ffff; i++) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    55
                if (i >= 0x1100 && i <= 0x11f9)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    56
                    continue;  //Dont try leading consonant, vowel and trailing
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    57
                               //consonant as a single char
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    58
                char[] in = (i < 0x10000
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    59
                         ? new char[] { (char)i }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    60
                             : new char[] { (char)(0xd800 + ((i - 0x10000) >> 10)),
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    61
                              (char)(0xdc00 + ((i - 0x10000) & 0x3ff)) });
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    62
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    63
                try {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    64
                    ByteBuffer out = converter.encode(CharBuffer.wrap(in));
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    65
                    if (out.remaining() == 0 ||
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    66
                        (out.remaining() == 1 && out.get(0) == 0x00)) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    67
                    errors++;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    68
                    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    69
                } catch (CharacterCodingException e) { }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    70
            }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    71
            if (errors > 0)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    72
                throw new Exception("Charset "+charset+": "+errors+" errors");
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    73
        }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    74
    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    75
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    76
    private static void bug6371416() throws Exception {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    77
        String[] charsets = { "Cp933", "Cp949", "Cp949C", "Cp970"};
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    78
        for (int n = 0; n < charsets.length; n++) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    79
            String charset = charsets[n];
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    80
            CharsetEncoder converter = Charset.forName(charset).newEncoder();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    81
            converter = converter.onMalformedInput(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    82
            converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    83
            int errors = 0;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    84
            for (int i = 0xd800; i < 0xe000; i++) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    85
                char[] in = new char[] { (char)i };
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    86
                try {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    87
                    ByteBuffer out = converter.encode(CharBuffer.wrap(in));
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    88
                    if (out.remaining() == 0)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    89
                        errors++;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    90
                } catch (CharacterCodingException e) { }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    91
            }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    92
            if (errors > 0)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    93
                throw new Exception("Charset "+charset+": "+errors+" errors");
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    94
        }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    95
    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    96
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    97
    private static void bug6371619() throws Exception {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    98
        String encoding = "Cp964";
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
    99
        Charset charset = Charset.forName(encoding);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   100
        CharsetDecoder converter = charset.newDecoder();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   101
        converter = converter.onMalformedInput(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   102
        converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   103
        int errors = 0;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   104
        for (int b = 0x80; b < 0x100; b++)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   105
            if (!(b == 0x8e ||  // 0x8e is a SS2
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   106
                  (b >= 0x80 && b <= 0x8d) || (b >= 0x90 && b <= 0x9f))) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   107
                ByteBuffer in = ByteBuffer.wrap(new byte[] { (byte)b });
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   108
                try {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   109
                    CharBuffer out = converter.decode(in);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   110
                    if (out.length() == 0) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   111
                        errors++;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   112
                    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   113
                } catch (CharacterCodingException e) { }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   114
            }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   115
        if (errors > 0)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   116
            throw new Exception("Charset "+charset+": "+errors+" errors");
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   117
    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   118
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   119
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   120
    private static void bug6371431() throws Exception {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   121
        String encoding = "Cp33722";
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   122
        Charset charset = Charset.forName(encoding);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   123
        CharsetDecoder converter = charset.newDecoder();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   124
        converter = converter.onMalformedInput(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   125
        converter = converter.onUnmappableCharacter(CodingErrorAction.REPORT);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   126
        int errors = 0;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   127
        for (int b = 0xa0; b < 0x100; b++) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   128
            ByteBuffer in = ByteBuffer.wrap(new byte[] { (byte)b });
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   129
            try {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   130
                CharBuffer out = converter.decode(in);
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   131
                if (out.length() == 0) {
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   132
                    errors++;
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   133
                }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   134
            } catch (CharacterCodingException e) { }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   135
        }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   136
        if (errors > 0)
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   137
            throw new Exception("Charset "+charset+": "+errors+" errors");
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   138
    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   139
2921
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   140
    private static void bug6639450 () throws Exception {
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   141
        byte[] bytes1 = "\\".getBytes("IBM949");
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   142
        "\\".getBytes("IBM949C");
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   143
        byte[] bytes2 = "\\".getBytes("IBM949");
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   144
        if (bytes1.length != 1 || bytes2.length != 1 ||
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   145
            bytes1[0] != (byte)0x82 ||
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   146
            bytes2[0] != (byte)0x82)
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   147
        throw new Exception("IBM949/IBM949C failed");
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   148
    }
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   149
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   150
    private static void bug6569191 () throws Exception {
21309
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   151
        byte[] bs = new byte[] { (byte)0x81, (byte)0xad,  // fffd ff6d
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   152
                                 (byte)0x81, (byte)0xae,  // fffd ff6e
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   153
                                 (byte)0x81, (byte)0xaf,  // fffd ff6f
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   154
                                 (byte)0x81, (byte)0xb0,  // fffd ff70
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   155
                                 (byte)0x85, (byte)0x81,  // fffd ->
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   156
                                 (byte)0x85, (byte)0x87,  // 2266 ->
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   157
                                 (byte)0x85, (byte)0xe0,  // 32a4 ->
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   158
                                 (byte)0x85, (byte)0xf0 };// 7165 fffd
2921
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   159
        String s = new String(bs, "Cp943");
21309
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   160
        // see DoubleByte for how the unmappables are handled
5adf83468a1d 8008386: (cs) Unmappable leading should be decoded to replacement.
sherman
parents: 5506
diff changeset
   161
        if (!"\ufffd\uff6d\ufffd\uff6e\ufffd\uff6f\ufffd\uff70\ufffd\u2266\u32a4\u7165\ufffd"
2921
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   162
            .equals(s))
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   163
            throw new Exception("Cp943 failed");
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   164
    }
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   165
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   166
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   167
    private static void bug6577466 () throws Exception {
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   168
        for (int c = Character.MIN_VALUE; c <= Character.MAX_VALUE; c++){
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   169
            if (!Character.isDefined((char)c)) continue;
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   170
            String s = String.valueOf((char)c);
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   171
            byte[] bb = null;
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   172
            bb = s.getBytes("x-IBM970");
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   173
        }
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   174
    }
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   175
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   176
    public static void main (String[] args) throws Exception {
2921
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   177
        bug6577466();
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   178
        // need to be tested before any other IBM949C test case
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   179
        bug6639450();
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   180
        bug6371437();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   181
        bug6371422();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   182
        bug6371416();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   183
        bug6371619();
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   184
        bug6371431();
2921
d9d491a5a169 6843578: Re-implement IBM doublebyte charsets
sherman
parents: 796
diff changeset
   185
        bug6569191();
796
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   186
    }
2c3db720c065 6675856: Open charset tests
sherman
parents:
diff changeset
   187
}