--- old/test/javax/xml/jaxp/functional/javax/xml/validation/ptests/SchemaFactoryTest.java 2016-07-21 20:33:08.085027778 -0700 +++ new/test/javax/xml/jaxp/functional/javax/xml/validation/ptests/SchemaFactoryTest.java 2016-07-21 20:33:07.965027778 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1999, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1999, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -54,6 +54,7 @@ import org.testng.annotations.BeforeClass; import org.testng.annotations.DataProvider; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.w3c.dom.Document; import org.xml.sax.ErrorHandler; @@ -68,6 +69,7 @@ * @summary Class containing the test cases for SchemaFactory */ @Test(singleThreaded = true) +@Listeners({jaxp.library.FilePolicy.class}) public class SchemaFactoryTest { @BeforeClass