--- old/test/javax/xml/jaxp/unittest/parsers/xinclude/Bug6794483Test.java 2016-07-18 00:51:02.844522271 -0700 +++ new/test/javax/xml/jaxp/unittest/parsers/xinclude/Bug6794483Test.java 2016-07-18 00:51:02.724582271 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2014, 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 @@ -37,6 +37,7 @@ import javax.xml.transform.dom.DOMSource; import javax.xml.transform.stream.StreamResult; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.w3c.dom.Document; import org.w3c.dom.NodeList; @@ -46,6 +47,7 @@ * @summary Test JAXP parser can resolve the included content properly if the * included xml contains an empty tag that ends with "/>", refer to XERCESJ-1134. */ +@Listeners({jaxp.library.FilePolicy.class}) public class Bug6794483Test { @Test