< prev index next >
jdk/test/javax/xml/bind/JAXBContext/JAXBContextWithSubclassedFactory.java
Print this page
*** 34,45 ****
/**
* @test
* @bug 8150173
* @summary Verifies that a factory which inherit its createContext method
* from a concrete subclass of JAXBContextFactory is be instantiated.
! * @compile -addmods java.xml.bind JAXBContextWithSubclassedFactory.java
! * @run main/othervm -addmods java.xml.bind JAXBContextWithSubclassedFactory
*/
public class JAXBContextWithSubclassedFactory {
static JAXBContext tmp;
public static class JAXBContextImpl extends JAXBContext {
--- 34,45 ----
/**
* @test
* @bug 8150173
* @summary Verifies that a factory which inherit its createContext method
* from a concrete subclass of JAXBContextFactory is be instantiated.
! * @modules java.xml.bind
! * @run main/othervm JAXBContextWithSubclassedFactory
*/
public class JAXBContextWithSubclassedFactory {
static JAXBContext tmp;
public static class JAXBContextImpl extends JAXBContext {
< prev index next >