< prev index next >

test/javax/xml/jaxp/unittest/transform/Bug6551616.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 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.

@@ -21,25 +21,28 @@
  * questions.
  */
 
 /*
  * @test
- * @modules java.xml/com.sun.org.apache.xalan.internal.xsltc.trax
  * @bug 6551616
  * @summary Test SAX2StAXEventWriter.
  */
 
+package transform;
+
 import java.io.InputStream;
 import java.io.StringBufferInputStream;
 
 import javax.xml.stream.XMLEventWriter;
 import javax.xml.stream.XMLOutputFactory;
 
+import org.testng.annotations.Listeners;
 import org.testng.annotations.Test;
 
 import com.sun.org.apache.xalan.internal.xsltc.trax.SAX2StAXEventWriter;
 
+@Listeners({jaxp.library.InternalAPIPolicy.class})
 public class Bug6551616 {
     String _cache = "";
 
 
     @Test
< prev index next >