--- old/test/javax/xml/jaxp/functional/test/gaptest/Bug4848653.java 2016-07-21 20:33:35.186027778 -0700 +++ new/test/javax/xml/jaxp/functional/test/gaptest/Bug4848653.java 2016-07-21 20:33:35.070027778 -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 @@ -32,8 +32,7 @@ import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; -import jaxp.library.JAXPFileBaseTest; - +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.ErrorHandler; import org.xml.sax.InputSource; @@ -45,8 +44,8 @@ * @bug 4848653 * @summary Verify JAXP schemaLanguage property is ignored if setValidating(false) */ - -public class Bug4848653 extends JAXPFileBaseTest { +@Listeners({jaxp.library.FilePolicy.class}) +public class Bug4848653 { @Test public void test() throws IOException, SAXException, ParserConfigurationException {