< prev index next >

test/jdk/sun/net/idn/TestStringPrep.java

Print this page
rev 57619 : [mq]: 8174270

*** 1,7 **** /* ! * Copyright (c) 2005, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2005, 2020, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 21,34 **** * questions. */ /* * @test ! * @summary Unit test for sun.net.idn.Punycode ! * @bug 4737170 8060097 ! * @modules java.base/sun.net.idn:+open ! * java.base/sun.text.normalizer * @library . * @compile -XDignore.symbol.file TestStringPrep.java NFS4StringPrep.java * TestData.java * @run main/othervm -ea TestStringPrep * @author Edward Wang --- 21,33 ---- * questions. */ /* * @test ! * @summary Unit test for jdk.internal.icu.text.StringPrep ! * @bug 4737170 8060097 8174270 ! * @modules java.base/jdk.internal.icu.text * @library . * @compile -XDignore.symbol.file TestStringPrep.java NFS4StringPrep.java * TestData.java * @run main/othervm -ea TestStringPrep * @author Edward Wang
*** 42,53 **** import java.text.ParseException; import java.io.InputStream; import java.util.Locale; ! import sun.net.idn.StringPrep; ! import sun.text.normalizer.UCharacterIterator; public class TestStringPrep { public static void main(String[] args) throws Exception { TestNFS4MixedPrep(); TestCISPrep(); --- 41,52 ---- import java.text.ParseException; import java.io.InputStream; import java.util.Locale; ! import jdk.internal.icu.text.StringPrep; ! import jdk.internal.icu.text.UCharacterIterator; public class TestStringPrep { public static void main(String[] args) throws Exception { TestNFS4MixedPrep(); TestCISPrep();
< prev index next >