You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Greg Brown (JIRA)" <ji...@apache.org> on 2010/06/06 16:23:55 UTC
[jira] Created: (PIVOT-518) Serialization of "structs" fails
Serialization of "structs" fails
--------------------------------
Key: PIVOT-518
URL: https://issues.apache.org/jira/browse/PIVOT-518
Project: Pivot
Issue Type: Bug
Components: core-beans
Affects Versions: 1.5
Reporter: Greg Brown
Fix For: 1.5.1
BeanAdapter currently returns null when get() is called for a valid, non-null public final field. This causes serialization of struct-like classes such as CalendarDate and Point to fail. Also, the Javadoc currently states that non-public and static fields will not be serialized but does not mention final values. BeanAdapter should be updated to return public final values.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (PIVOT-518) Serialization of "structs" fails
Posted by "Greg Brown (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/PIVOT-518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Greg Brown resolved PIVOT-518.
------------------------------
Assignee: Greg Brown
Resolution: Fixed
> Serialization of "structs" fails
> --------------------------------
>
> Key: PIVOT-518
> URL: https://issues.apache.org/jira/browse/PIVOT-518
> Project: Pivot
> Issue Type: Bug
> Components: core-beans
> Affects Versions: 1.5
> Reporter: Greg Brown
> Assignee: Greg Brown
> Fix For: 1.5.1
>
>
> BeanAdapter currently returns null when get() is called for a valid, non-null public final field. This causes serialization of struct-like classes such as CalendarDate and Point to fail. Also, the Javadoc currently states that non-public and static fields will not be serialized but does not mention final values. BeanAdapter should be updated to return public final values.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.