--- old/test/javax/xml/jaxp/unittest/validation/tck/Bug6963468Test.java 2016-07-18 00:52:40.626130271 -0700 +++ new/test/javax/xml/jaxp/unittest/validation/tck/Bug6963468Test.java 2016-07-18 00:52:40.450130271 -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 6963468 * @summary Test Validation allows element a is a union type and element b specifies a as its substitution group and b type is or is derived from one of the member types of the union. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug6963468Test { 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";