any23-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Ansell (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (ANY23-265) ThreadSafety issue in ItemPropValue
Date Fri, 30 Oct 2015 02:33:28 GMT

     [ 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)

Mime
View raw message