Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for bug 28773106 #610

Closed
Tomas-Kraus opened this issue Jun 2, 2022 · 1 comment
Closed

Fix for bug 28773106 #610

Tomas-Kraus opened this issue Jun 2, 2022 · 1 comment

Comments

@Tomas-Kraus
Copy link
Member

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 [email protected]

Source: javaee/metro-jax-ws#1254
Author: vavishal

@lukasj
Copy link
Member

lukasj commented Jun 9, 2023

handled by com.sun.xml.ws.jaxb.allowNonNillableArray=true|false property

@lukasj lukasj closed this as completed Jun 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants