[ 
https://issues.apache.org/jira/browse/TRINIDAD-2034?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Max Starets updated TRINIDAD-2034:
----------------------------------

    Status: Patch Available  (was: Open)

> DatePropertyTagRule and StringArrayPropertyTagRule cache mutable objects
> ------------------------------------------------------------------------
>
>                 Key: TRINIDAD-2034
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2034
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>            Reporter: Max Starets
>            Assignee: Max Starets
>
> When DatePropertyTagRule and StringArrayPropertyTagRule are applied to 
> attributes specified as string literals, the parsing results are cached on 
> the tag. The issue is that the parsing results are mutable (java.util.Date 
> and String[]), so they a) cannot be shared; b) cannot be cached. 
> The fix will be to clone a new object every time 
> LiteralPropertyMetadata.applyMetadata() is called.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to