9 lines
290 B
Java
9 lines
290 B
Java
import javax.xml.bind.JAXBContext;
|
|
|
|
/** Compiles on 8, fails on 11: JEP 320 removed the Java EE modules (java.xml.bind and friends). */
|
|
public class JaxbRemoved {
|
|
public static void main(String[] args) throws Exception {
|
|
System.out.println(JAXBContext.class.getName());
|
|
}
|
|
}
|