Skip to content

Conversation

@pettyjamesm
Copy link

SimpleDateFormat is not threadsafe since it mutates fields internally during calls to parse and format. This changes previously static instances of SimpleDateFormat into static thread-local instances to avoid the the possibility of data becoming corrupted as a result of concurrent accesses to these instances from multiple threads.

Fixes #227

SimpleDateFormat is not threadsafe since it mutates fields internally
during calls to parse and format. This changes previously static instances
of SimpleDateFormat into static thread-local instances to avoid the the
possibility of data becoming corrupted as a result of concurrent accesses
to these instances from multiple threads
@pettyjamesm pettyjamesm force-pushed the thread-local-simpledateformat branch from 2b6147b to a9e2493 Compare October 22, 2020 13:34
@chickenPopcorn
Copy link

@rcongiu any update on when this can be merged in?

@rmitula
Copy link

rmitula commented Feb 10, 2022

Any updates on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Use of SimpleDateFormat is not Threadsafe

4 participants