--- old/test/javax/xml/jaxp/functional/test/astro/DocumentLSTest.java 2016-07-21 20:33:29.491027778 -0700 +++ new/test/javax/xml/jaxp/functional/test/astro/DocumentLSTest.java 2016-07-21 20:33:29.363027778 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2002, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2002, 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 @@ -40,8 +40,7 @@ import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.ParserConfigurationException; -import jaxp.library.JAXPFileBaseTest; - +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.w3c.dom.Document; import org.w3c.dom.Element; @@ -54,7 +53,8 @@ /* * @summary org.w3c.dom.ls tests */ -public class DocumentLSTest extends JAXPFileBaseTest { +@Listeners({jaxp.library.FilePolicy.class}) +public class DocumentLSTest { /* * Test creating an empty Document */