Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue-Import-Test #6

Closed
hendrikebbers opened this issue May 29, 2018 · 0 comments
Closed

Issue-Import-Test #6

hendrikebbers opened this issue May 29, 2018 · 0 comments

Comments

@hendrikebbers
Copy link
Contributor

From @hendrikebbers on May 24, 2018 9:22

The DateConverter of DP uses a SimpleDateFormat instance internally. This instance is used for all convert calls. Since all DateConverters are singletons the same SimpleDateFormat instance will be used for all calls. On the server this means that the same instance will be reused for all clients.

The problem here ist, that the SimpleDateFormat instance can not be used in parallel. Therefore we need to refactor the factory to create a new instance with each call or use thread local instances. More info can be found here: http://blog.udby.com/archives/164

Copied from original issue: canoo/dolphin-platform#909

@timo0 timo0 added the firstTry label May 29, 2018
@timo0 timo0 closed this as completed May 29, 2018
@hendrikebbers hendrikebbers changed the title SimpleDateFormat is not thread save Issue-Import-Test May 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants