[
https://issues.apache.org/jira/browse/SLING-4088?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14179794#comment-14179794
]
Carsten Ziegeler commented on SLING-4088:
-----------------------------------------
Actually I was wrong...that case didn't work before either, but if you put a
Date object, it's saved as a binary, if you do a get you get an input stream
and a get("name", Serializable) would give you the date object
> Regression introduced by SLING-3846 : JcrModifiableValueMap: Date object not
> supported for writing data
> -------------------------------------------------------------------------------------------------------
>
> Key: SLING-4088
> URL: https://issues.apache.org/jira/browse/SLING-4088
> Project: Sling
> Issue Type: Bug
> Components: JCR
> Reporter: Carsten Ziegeler
> Assignee: Carsten Ziegeler
> Fix For: JCR Resource 2.3.8, JCR Resource 2.3.10
>
>
> With the patch of SLING-3846, putting a Date object into a resource, reading
> the resource back and trying to get a Date object, results in a
> ClassCastException as now a Calendar object is returned.,
> This breaks existing code and I think we should revert SLING-3846
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)