--- old/test/javax/xml/jaxp/unittest/validation/tck/Bug6989956Test.java 2016-07-18 00:52:44.427130271 -0700 +++ new/test/javax/xml/jaxp/unittest/validation/tck/Bug6989956Test.java 2016-07-18 00:52:44.299130271 -0700 @@ -36,6 +36,7 @@ import javax.xml.validation.Validator; import org.testng.Assert; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.ErrorHandler; import org.xml.sax.SAXException; @@ -48,6 +49,7 @@ * @bug 6989956 * @summary Test Validation can process correctly that maxOccurs in Choice less than maxOccurs in Elements contained in the Choice. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug6989956Test { 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";