--- old/test/javax/xml/jaxp/functional/test/gaptest/Bug4693341.java 2016-07-18 00:50:26.468719271 -0700 +++ new/test/javax/xml/jaxp/functional/test/gaptest/Bug4693341.java 2016-07-18 00:50:26.341782771 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 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 @@ -42,8 +42,7 @@ import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; -import jaxp.library.JAXPFileBaseTest; - +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.SAXException; @@ -52,7 +51,8 @@ * @summary test transforming to stream with external dtd */ -public class Bug4693341 extends JAXPFileBaseTest { +@Listeners({jaxp.library.FilePolicy.class}) +public class Bug4693341 { @Test public void test() throws TransformerException, ParserConfigurationException, SAXException, IOException {