tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luca Menegus (JIRA)" <j...@apache.org>
Subject [jira] [Created] (TAP5-1926) PropertyDisplayBlocks Date's display block is not thread safe
Date Tue, 08 May 2012 18:49:48 GMT
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


View raw message