Add java8-to-25 module: legacy Java 8 app run on JDK 8, 17 and 25, tool coverage, JVM flags, libraries, OpenRewrite and the fixed version
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6vDJ5fWY5uEZaJFNi
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import java.io.StringWriter;
|
||||
import jakarta.xml.bind.JAXBContext;
|
||||
import javax.xml.bind.annotation.XmlRootElement;
|
||||
|
||||
public class Mixed {
|
||||
@XmlRootElement(name = "order")
|
||||
public static class Order {
|
||||
public String id = "A-1";
|
||||
}
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
StringWriter out = new StringWriter();
|
||||
JAXBContext.newInstance(Order.class).createMarshaller().marshal(new Order(), out);
|
||||
System.out.println(out);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user