[
https://issues.apache.org/jira/browse/VELOCITY-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henning Schmiedehausen closed VELOCITY-216.
-------------------------------------------
> Thread safety fault in Directives when Template caching on
> ----------------------------------------------------------
>
> Key: VELOCITY-216
> URL: https://issues.apache.org/jira/browse/VELOCITY-216
> Project: Velocity
> Issue Type: Bug
> Components: Engine
> Affects Versions: 1.3.1
> Environment: Operating System: All
> Platform: All
> Reporter: Geoffrey Picron
> Fix For: 1.5
>
> Attachments: ThreadPartionedResourceCacheImpl.java
>
>
> When the template caching is on, concurrent thread may used at the same time
> the same compiled template.
> As Directives are not designed to be stateless it may produce funny effect.
> Example: #foreach
> T1: #foreach ... | ... | ... | ... |
> c=0 c=1 c=0 c=1 c=2 c=3 c=4
> T2: #foreach... | ... |
> ---------|-------------|-----|-----|-----|-----|-----|------->
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]