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

Check WRAP_EXCEPTIONS in CollectionDeserializer.handleNonArray() #2560

Closed
stewe opened this issue Dec 5, 2019 · 1 comment
Closed

Check WRAP_EXCEPTIONS in CollectionDeserializer.handleNonArray() #2560

stewe opened this issue Dec 5, 2019 · 1 comment
Milestone

Comments

@stewe
Copy link

stewe commented Dec 5, 2019

CollectionDeserializer.handleNonArray should evaluate DeserializationFeature.WRAP_EXCEPTIONS before it wraps the exception into a JsonMappingException.

throw JsonMappingException.wrapWithPath(e, Object.class, result.size());

@cowtowncoder
Copy link
Member

Sounds reasonable, hope to fix in 2.10 patch.

@cowtowncoder cowtowncoder changed the title Evaluate WRAP_EXCEPTIONS in CollectionDeserializer.handleNonArray Check WRAP_EXCEPTIONS in CollectionDeserializer.handleNonArray() Dec 6, 2019
@cowtowncoder cowtowncoder added this to the 2.10.2 milestone Dec 6, 2019
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