Community
Participate
Working Groups
When the AnnotationsProcessor encounters a set method (when there is no get method) that has no input parameters we get an array index out of bounds error on the following line: ptype = setMethod.getParameterTypes()[0]; We should be checking that the Set method in question has exactly one input parameter, and if not, ignore the method.
This fix is required in the following streams: 2.0 2.1 2.2
Created attachment 171952 [details] Contains fix + test case mods for 2.0 stream
Created attachment 171953 [details] Contains fix + test case mods for 2.2 stream
Created attachment 171955 [details] Contains fix + test case mods for 2.1 stream
Fix checked into the 2.0 stream. Reviewed by: matt.macivor@oracle.com Tests: all unit tests pass as expected; jaxb/xmlelement/EmployeeNamespaceTestCases
Fix checked into the 2.2 stream. Reviewed by: matt.macivor@oracle.com Tests: all unit tests pass as expected; jaxb/xmlelement/EmployeeNamespaceTestCases
Fix checked into the 2.1 stream. Reviewed by: matt.macivor@oracle.com, blaise.doughan@oracle.com Tests: all unit tests pass as expected; jaxb/xmlelement/XmlElementTestCases; oxm/mappings/directtofield/identifiedbyname/xmlattribute/DirectToXMLAttributeIdentifiedByNameSpecialCharactersTestCases; oxm/mappings/directtofield/identifiedbyname/xmlelement/DirectToXMLElementIdentifiedByNameSpecialCharactersTestCases
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink