< prev index next >
jdk/test/javax/xml/bind/JAXBContext/JAXBContextWithLegacyFactory.java
Print this page
*** 33,44 ****
/**
* @test
* @bug 8150173
* @summary Verifies that a JAXBContext can be created with a legacy
* factory class that has static createContext methods.
! * @compile -addmods java.xml.bind JAXBContextWithLegacyFactory.java
! * @run main/othervm -addmods java.xml.bind JAXBContextWithLegacyFactory
*/
public class JAXBContextWithLegacyFactory {
private static JAXBContext tmp;
public static class JAXBContextImpl extends JAXBContext {
--- 33,44 ----
/**
* @test
* @bug 8150173
* @summary Verifies that a JAXBContext can be created with a legacy
* factory class that has static createContext methods.
! * @modules java.xml.bind
! * @run main/othervm JAXBContextWithLegacyFactory
*/
public class JAXBContextWithLegacyFactory {
private static JAXBContext tmp;
public static class JAXBContextImpl extends JAXBContext {
< prev index next >