Open
Description
The tool generates code which has been deprecated:
public Integer unmarshal(String value) {
return new Integer(value);
}
'Integer(java.lang.String)' is deprecated since version 9 and marked for removal
I am not sure whether this could be avoided by configuration. Currently I am using plugin version 1.8.2 and org.glassfish.jaxb:jaxb-xjc:4.0.5
.
Configuration is as follows:
xjc {
xsdDir = file("my-xsd-dir/xsd")
includes = listOf("my-schema.xsd")
bindingFiles.setFrom("my-bindings.xml")
}
I tried setting xjcVersion
to 4.0.5 but there was no difference.
Metadata
Metadata
Assignees
Labels
No labels
Activity