--- old/test/javax/xml/jaxp/functional/javax/xml/transform/ptests/Bug6384418Test.java 2016-07-21 20:33:01.264027778 -0700 +++ new/test/javax/xml/jaxp/functional/javax/xml/transform/ptests/Bug6384418Test.java 2016-07-21 20:33:01.147027778 -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 @@ -23,6 +23,8 @@ package javax.xml.transform.ptests; +import static javax.xml.transform.ptests.TransformerTestConst.XML_DIR; + import java.io.ByteArrayOutputStream; import java.io.File; @@ -34,9 +36,7 @@ import javax.xml.transform.stream.StreamResult; import javax.xml.transform.stream.StreamSource; -import jaxp.library.JAXPFileBaseTest; -import static javax.xml.transform.ptests.TransformerTestConst.XML_DIR; - +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.w3c.dom.Document; @@ -44,7 +44,8 @@ * @bug 6384418 * @summary verify the transforming won't throw any exception */ -public class Bug6384418Test extends JAXPFileBaseTest { +@Listeners({jaxp.library.FilePolicy.class}) +public class Bug6384418Test { @Test public void test() throws Exception {