< prev index next >
test/jdk/sun/net/idn/PunycodeTest.java
Print this page
rev 57619 : [mq]: 8174270
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
+ * 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,21 +21,20 @@
* questions.
*/
/*
* @test
- * @summary Unit test for sun.net.idn.Punycode
- * @bug 4737170
- * @modules java.base/sun.net.idn
+ * @summary Unit test for jdk.internal.icu.impl.Punycode
+ * @bug 4737170 8174270
+ * @modules java.base/jdk.internal.icu.impl
* @compile -XDignore.symbol.file PunycodeTest.java
* @run main/othervm -ea PunycodeTest
* @author Edward Wang
*/
import java.util.Scanner;
-import java.text.ParseException;
-import sun.net.idn.Punycode;
+import jdk.internal.icu.impl.Punycode;
/**
* unit test for Punycode that is also originated from the sample code
* provided in rfc3492.txt
*/
< prev index next >