< prev index next >

jdk/test/javax/xml/bind/JAXBContext/JAXBContextWithAbstractFactory.java

Print this page

        

*** 31,42 **** /** * @test * @bug 8150173 * @summary Verifies that a factory which inherit its createContext method * from an abstract subclass of JAXBContextFactory can be instantiated. ! * @compile -addmods java.xml.bind JAXBContextWithAbstractFactory.java ! * @run main/othervm -addmods java.xml.bind JAXBContextWithAbstractFactory */ public class JAXBContextWithAbstractFactory { private static JAXBContext tmp; public static abstract class FactoryBase implements JAXBContextFactory { --- 31,42 ---- /** * @test * @bug 8150173 * @summary Verifies that a factory which inherit its createContext method * from an abstract subclass of JAXBContextFactory can be instantiated. ! * @modules java.xml.bind ! * @run main/othervm JAXBContextWithAbstractFactory */ public class JAXBContextWithAbstractFactory { private static JAXBContext tmp; public static abstract class FactoryBase implements JAXBContextFactory {
< prev index next >