[ 
https://issues.apache.org/jira/browse/PDFBOX-5127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17300787#comment-17300787
 ] 

ASF subversion and git services commented on PDFBOX-5127:
---------------------------------------------------------

Commit 1887575 from Tilman Hausherr in branch 'pdfbox/branches/1.8'
[ https://svn.apache.org/r1887575 ]

PDFBOX-5127: remove debug stuff

> Multithreading issue in JempBox's DateConverter
> -----------------------------------------------
>
>                 Key: PDFBOX-5127
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5127
>             Project: PDFBox
>          Issue Type: Bug
>            Reporter: Tim Allison
>            Priority: Major
>
> [~tilman] recently found an exception thrown from here 
> ([https://github.com/apache/pdfbox/blob/1.8/jempbox/src/main/java/org/apache/jempbox/impl/DateConverter.java#L186)]
>  in one run of tika-eval but not in another. 
>  
> This is a multithreading issue caused by 
> [https://github.com/apache/pdfbox/blob/1.8/jempbox/src/main/java/org/apache/jempbox/impl/DateConverter.java#L43]
>  SimpleDateFormat is not threadsafe.  I'm surprised we haven't seen this 
> earlier, but so it goes.
>  
> Many, many thanks to Tilman for finding this!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to