[ http://issues.apache.org/jira/browse/VELOCITY-216?page=all ] Will Glass-Husain resolved VELOCITY-216: ----------------------------------------
Resolution: Invalid Assign To: (was: Velocity-Dev List) closing this two year old issue. no specific problem cited. > Thread safety fault in Directives when Template caching on > ---------------------------------------------------------- > > Key: VELOCITY-216 > URL: http://issues.apache.org/jira/browse/VELOCITY-216 > Project: Velocity > Type: Bug > Components: Source > 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. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]