8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @summary Unit test for sun.net.idn.Punycode
27 * @bug 4737170
28 * @library .
29 * @compile -XDignore.symbol.file TestStringPrep.java NFS4StringPrep.java
30 * TestData.java
31 * @run main/othervm -ea TestStringPrep
32 * @author Edward Wang
33 */
34 /*
35 *******************************************************************************
36 * Copyright (C) 2003-2004, International Business Machines Corporation and *
37 * others. All Rights Reserved. *
38 *******************************************************************************
39 */
40
41 import java.text.ParseException;
42 import java.io.InputStream;
43
44 import sun.net.idn.StringPrep;
45 import sun.text.normalizer.UCharacterIterator;
46
47 public class TestStringPrep {
|
8 *
9 * This code is distributed in the hope that it will be useful, but WITHOUT
10 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12 * version 2 for more details (a copy is included in the LICENSE file that
13 * accompanied this code).
14 *
15 * You should have received a copy of the GNU General Public License version
16 * 2 along with this work; if not, write to the Free Software Foundation,
17 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any
21 * questions.
22 */
23
24 /*
25 * @test
26 * @summary Unit test for sun.net.idn.Punycode
27 * @bug 4737170
28 * @modules java.base/sun.net.idn java.base/sun.text.normalizer
29 * @library .
30 * @compile -XDignore.symbol.file TestStringPrep.java NFS4StringPrep.java
31 * TestData.java
32 * @run main/othervm -ea TestStringPrep
33 * @author Edward Wang
34 */
35 /*
36 *******************************************************************************
37 * Copyright (C) 2003-2004, International Business Machines Corporation and *
38 * others. All Rights Reserved. *
39 *******************************************************************************
40 */
41
42 import java.text.ParseException;
43 import java.io.InputStream;
44
45 import sun.net.idn.StringPrep;
46 import sun.text.normalizer.UCharacterIterator;
47
48 public class TestStringPrep {
|