--- old/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/Bug6756677Test.java 2016-07-18 00:51:22.330774272 -0700 +++ new/test/javax/xml/jaxp/unittest/stream/XMLInputFactoryTest/Bug6756677Test.java 2016-07-18 00:51:22.202838272 -0700 @@ -25,13 +25,17 @@ import javax.xml.stream.XMLInputFactory; +import jaxp.library.JAXPTestUtilities; + import org.testng.Assert; +import org.testng.annotations.Listeners; import org.testng.annotations.Test; /* * @bug 6756677 * @summary Test XMLInputFactory.newFactory(String factoryId, ClassLoader classLoader). */ +@Listeners({jaxp.library.BasePolicy.class}) public class Bug6756677Test { @Test @@ -46,7 +50,6 @@ } catch (UnsupportedOperationException oe) { Assert.fail(oe.getMessage()); } - } // newFactory was added in StAX 1.2 @@ -63,7 +66,6 @@ } catch (UnsupportedOperationException oe) { Assert.fail(oe.getMessage()); } - } String Temp_Result = "";