Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361585

Summary: Exception occurs with read only Array method properties
Product: z_Archived Reporter: Matt MacIvor <matt.macivor>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
propsed fix and tests none

Description Matt MacIvor CLA 2011-10-20 15:15:04 EDT
When using property access through JAXB, an array property that is read-only or write-only (having a set without a get or a get without a set), an error occurs during initialization. This is due to the nested accessor being unaware of the readOnly/writeOnly status such that it attempts to load the non-existant set or get method.
Comment 1 Matt MacIvor CLA 2011-10-20 15:30:30 EDT
Created attachment 205674 [details]
propsed fix and tests
Comment 2 Matt MacIvor CLA 2011-10-24 10:25:18 EDT
Attached patch has been checked in to SVN
Reviewed by Blaise Doughan
Comment 3 Eclipse Webmaster CLA 2022-06-09 10:22:10 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink