javaee / metro-jax-ws

https://javaee.github.io/metro-jax-ws/
Other
132 stars 68 forks source link

Fix for bug 28773106 #1254

Open vavishal opened 5 years ago

vavishal commented 5 years ago

Here the issue is that The @XmlElement(nillable=false) doesn't work with String[] i.e. nillable attribute is not honored by any array elements

So for the fix I have removed the check nav.isArray(type) from AbstractWrapperBeanGenerator.processXmlElement which sets nillable to true for all array type elements

Signed-off-by: vavishal vaibhav.vishal@oracle.com