Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361585 - Exception occurs with read only Array method properties
Summary: Exception occurs with read only Array method properties
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-20 15:15 EDT by Matt MacIvor CLA
Modified: 2022-06-09 10:22 EDT (History)
0 users

See Also:


Attachments
propsed fix and tests (9.52 KB, patch)
2011-10-20 15:30 EDT, Matt MacIvor CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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