--- old/test/javax/xml/jaxp/unittest/validation/tck/Bug6963124Test.java 2016-07-21 20:35:37.386027778 -0700 +++ new/test/javax/xml/jaxp/unittest/validation/tck/Bug6963124Test.java 2016-07-21 20:35:37.266027778 -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 6963124 * @summary Test Schema doesn't allow maxOccurs > 1 for reference to all model group. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug6963124Test { 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";