Antoni Mylka created ANY23-265:
----------------------------------
Summary: 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
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)