--- old/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265Test.java 2016-07-21 20:35:40.410027778 -0700 +++ new/test/javax/xml/jaxp/unittest/validation/tck/Bug6975265Test.java 2016-07-21 20:35:40.272027778 -0700 @@ -31,6 +31,7 @@ import javax.xml.validation.SchemaFactory; import org.testng.Assert; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.SAXException; @@ -38,6 +39,7 @@ * @bug 6975265 * @summary Test Schema doesn't allow some Element Information Items contain other element information item. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug6975265Test { static final String SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage"; static final String SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource";