[
https://issues.apache.org/jira/browse/OPENJPA-2629?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Richard Zowalla resolved OPENJPA-2629.
--------------------------------------
Resolution: Not A Problem
Closing: in openjpa-jest the date format is no longer static (an instance field
in ObjectFormatter). The only static SimpleDateFormat left is in the openbooks
example (JSPUtility), which is not part of the OpenJPA runtime.
> Found (and fixed) 2 instances of static SimpleDateFormat objects which are
> not threadsafe
> -----------------------------------------------------------------------------------------
>
> Key: OPENJPA-2629
> URL: https://issues.apache.org/jira/browse/OPENJPA-2629
> Project: OpenJPA
> Issue Type: Bug
> Reporter: Marc Breslow
> Priority: Major
> Attachments: OPENJPA-2629.patch
>
>
> Static instances of SimpleDateFormat used in multithreaded code may cause
> data corruption or incorrect values to be reported. This patch remediates 2
> of these issues by synchronizing access to the class variables.
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)