< prev index next >

test/javax/xml/jaxp/unittest/stream/XMLStreamWriterTest/Bug6452107.java

Print this page

        

@@ -29,16 +29,18 @@
 import javax.xml.stream.XMLOutputFactory;
 import javax.xml.stream.XMLStreamException;
 import javax.xml.stream.XMLStreamWriter;
 
 import org.testng.Assert;
+import org.testng.annotations.Listeners;
 import org.testng.annotations.Test;
 
 /*
  * @bug 6452107
  * @summary Test StAX can write ISO-8859-1 encoding XML.
  */
+@Listeners({jaxp.library.BasePolicy.class})
 public class Bug6452107 {
 
     /**
      * Ensure that charset aliases are checked. The encoding ISO-8859-1 is
      * returned as ISO8859_1 by the underlying writer. Thus, if alias are not
< prev index next >