--- old/test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java 2016-07-21 20:34:31.467027778 -0700 +++ new/test/javax/xml/jaxp/unittest/stream/XMLOutputFactoryTest/DuplicateNSDeclarationTest.java 2016-07-21 20:34:31.322027778 -0700 @@ -31,11 +31,13 @@ import javax.xml.transform.stream.StreamResult; import org.testng.Assert; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; /* * @summary Test the writing of duplicate namespace declarations when IS_REPAIRING_NAMESPACES is ture. */ +@Listeners({jaxp.library.BasePolicy.class}) public class DuplicateNSDeclarationTest { @Test