--- old/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252Test.java 2016-07-18 00:52:39.366130271 -0700 +++ new/test/javax/xml/jaxp/unittest/validation/tck/Bug6943252Test.java 2016-07-18 00:52:39.186130271 -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 6943252 * @summary Test Schema doesn't allow to use value more than allowed by base type. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug6943252Test { 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";