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

Feature request: Make ParseContext from JsonPath.using thread safe #187

Closed
jgogstad opened this issue Feb 11, 2016 · 1 comment
Closed

Comments

@jgogstad
Copy link

Hi,

We just found a race condition that's been bothering us for some while. Turned out it was a cached com.jayway.jsonpath.ParseContext that occasionally was called by several threads.

We assumed that we could parse configuration once, that is JsonPath.using(Configuration.defaultConfiguration()), and reuse that instance. I still think that would be nice.

@kallestenflo
Copy link
Contributor

Fixed in version 2.3.0

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

No branches or pull requests

2 participants