--- old/test/javax/xml/jaxp/functional/javax/xml/parsers/ptests/SAXParserTest02.java 2016-07-18 00:49:52.617653272 -0700 +++ new/test/javax/xml/jaxp/functional/javax/xml/parsers/ptests/SAXParserTest02.java 2016-07-18 00:49:52.406758771 -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 @@ -24,13 +24,15 @@ package javax.xml.parsers.ptests; import static org.testng.Assert.assertFalse; +import static org.testng.Assert.assertNotNull; import static org.testng.Assert.assertNull; import static org.testng.Assert.assertTrue; + import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; -import jaxp.library.JAXPBaseTest; -import static org.testng.Assert.assertNotNull; + import org.testng.annotations.DataProvider; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; import org.xml.sax.SAXException; import org.xml.sax.SAXNotSupportedException; @@ -40,7 +42,8 @@ /** * Class contains the test cases for SAXParser API */ -public class SAXParserTest02 extends JAXPBaseTest { +@Listeners({jaxp.library.BasePolicy.class}) +public class SAXParserTest02 { private static final String DOM_NODE = "http://xml.org/sax/properties/dom-node"; private static final String XML_STRING = "http://xml.org/sax/properties/xml-string"; private static final String DECL_HANDLER = "http://xml.org/sax/properties/declaration-handler";