You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Arjan van Bentem (JIRA)" <ta...@jakarta.apache.org> on 2005/08/11 23:05:54 UTC

[jira] Commented: (TAPESTRY-304) Non thread safe documentation example

    [ http://issues.apache.org/jira/browse/TAPESTRY-304?page=comments#action_12318542 ] 

Arjan van Bentem commented on TAPESTRY-304:
-------------------------------------------

The 3.0.3 specific documention still holds a static example at http://jakarta.apache.org/tapestry/3.0.3/doc/ComponentReference/Insert.html

To read about the issues see http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4228335

> Non thread safe documentation example
> -------------------------------------
>
>          Key: TAPESTRY-304
>          URL: http://issues.apache.org/jira/browse/TAPESTRY-304
>      Project: Tapestry
>         Type: Bug
>   Components: Documentation
>     Versions: unspecified
>     Reporter: Ben Tomasini
>     Assignee: Howard M. Lewis Ship
>     Priority: Minor
>      Fix For: 4.0

>
> SimpleDateFormat is not thread safe.  I know this is a problem with .parse(), and assume .format() is the same.
> The documentation example here:
> http://jakarta.apache.org/tapestry/doc/ComponentReference/Insert.html
> shows a static instance of SimpleDateFormat.
> Under load, this could produce incorrect results.
> Ben

-- 
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: tapestry-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-dev-help@jakarta.apache.org