diff --git a/jdk/test/javax/xml/jaxp/transform/8268457/SurrogateTest.java b/jdk/test/javax/xml/jaxp/transform/8268457/SurrogateTest.java index d2b7fc0e63..c27dadad09 100644 --- a/jdk/test/javax/xml/jaxp/transform/8268457/SurrogateTest.java +++ b/jdk/test/javax/xml/jaxp/transform/8268457/SurrogateTest.java @@ -25,8 +25,10 @@ import java.io.FileInputStream; import java.io.FileOutputStream; import java.io.FileReader; +import java.io.IOException; import java.io.InputStream; import java.nio.charset.Charset; +import java.nio.charset.StandardCharsets; import java.nio.file.Files; import java.nio.file.Paths; @@ -43,15 +45,11 @@ import org.xml.sax.SAXException; import org.xml.sax.helpers.DefaultHandler; -import org.testng.Assert; -import org.testng.annotations.Listeners; -import org.testng.annotations.Test; - /* * @test * @bug 8268457 * @library /test/lib - * @run main/othervm transform.SurrogateTest + * @run main/othervm SurrogateTest * @summary XML Transformer outputs Unicode supplementary character incorrectly to HTML */ public class SurrogateTest {