--- old/test/javax/xml/jaxp/unittest/validation/tck/Bug7014246Test.java 2016-07-21 20:35:41.716027778 -0700 +++ new/test/javax/xml/jaxp/unittest/validation/tck/Bug7014246Test.java 2016-07-21 20:35:41.600027778 -0700 @@ -29,6 +29,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; @@ -36,6 +37,7 @@ * @bug 7014246 * @summary Test Schema doesn't allow maxInclusive of derived time type greater than the base. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug7014246Test { 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";