You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Luca Menegus (JIRA)" <ji...@apache.org> on 2012/05/08 20:49:48 UTC
[jira] [Created] (TAP5-1926) PropertyDisplayBlocks Date's display
block is not thread safe
Luca Menegus created TAP5-1926:
----------------------------------
Summary: PropertyDisplayBlocks Date's display block is not thread safe
Key: TAP5-1926
URL: https://issues.apache.org/jira/browse/TAP5-1926
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.3, 5.3.3, 5.3.2, 5.3.1, 5.3.4
Reporter: Luca Menegus
Priority: Trivial
In class org.apache.tapestry5.corelib.pages.PropertyDisplayBlocks the DateFormat used to format Dates is declared as:
private final DateFormat dateFormat = DateFormat.getDateInstance(DateFormat.MEDIUM, locale);
Which is not correct because DateFormat is not thread safe and pages aren't pooled any more.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira