You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@any23.apache.org by "Peter Ansell (JIRA)" <ji...@apache.org> on 2015/10/30 03:33:28 UTC

[jira] [Assigned] (ANY23-265) ThreadSafety issue in ItemPropValue

     [ https://issues.apache.org/jira/browse/ANY23-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ansell reassigned ANY23-265:
----------------------------------

    Assignee: Peter Ansell

> ThreadSafety issue in ItemPropValue
> -----------------------------------
>
>                 Key: ANY23-265
>                 URL: https://issues.apache.org/jira/browse/ANY23-265
>             Project: Apache Any23
>          Issue Type: Bug
>          Components: microdata
>    Affects Versions: 1.1, 1.2
>            Reporter: Antoni Mylka
>            Assignee: Peter Ansell
>
> When multiple HTML documents are parsed concurrently in different threads, the MicrodataParser will sometimes throw very weird Exceptions or deliver broken values of date properties. I tracked it to a static SimpleDateFormat field in ItemPropValue. SimpleDateFormat is not thread-safe and should never be used like this.
> See https://github.com/apache/any23/pull/19



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)