--- old/test/javax/xml/jaxp/unittest/sax/XMLReaderTest.java 2016-07-21 20:34:15.877027778 -0700 +++ new/test/javax/xml/jaxp/unittest/sax/XMLReaderTest.java 2016-07-21 20:34:15.759027778 -0700 @@ -26,7 +26,11 @@ import javax.xml.parsers.ParserConfigurationException; import javax.xml.parsers.SAXParserFactory; + +import jaxp.library.JAXPTestUtilities; + import org.testng.annotations.AfterClass; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.SAXException; import org.xml.sax.helpers.XMLReaderAdapter; @@ -35,6 +39,7 @@ * @bug 8158246 * @summary This class contains tests that cover the creation of XMLReader. */ +@Listeners({jaxp.library.BasePolicy.class}) public class XMLReaderTest { private final String SAX_PROPNAME = "org.xml.sax.driver";