Community
Participate
Working Groups
We will get a null pointer in SchemaGenerator when we attempt to add an import for a class tagged with @XmlType(name=""). Since an @XmlType annotation with name="" results in an anonymous complex type being generated, we should not be attempting to generate an import.
Created attachment 186751 [details] Proposed fix.
Created attachment 186752 [details] Supporting tests.
Reviewed by: blaise.doughan@oracle.com Tests: all unit tests pass as expected; jaxb/xmltype/XmlTypeNameTestCases Revision: 8824
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink