You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @fmbenhassine, would it be possible to add java.util.concurrent.ConcurrentHashMap to the trusted classes list in Jackson2ExecutionContextStringSerializer ?
Thanks
The text was updated successfully, but these errors were encountered:
Yes, ConcurrentHashMap is in Jackson's trusted classes list, so I think we can safely add it to the Jackson serializer provided by Spring Batch. I will plan that for v5.1.
Please note that you can add the list of trusted classes in the constructor of Jackson2ExecutionContextStringSerializer.
Hi, thanks a lot for your answer and for the add in v5.1
We have the same message for java.sql.Date
We use spring/Jackson2 versions through Maven.
What would be the best way for adding classes list of trusted classes in the constructor of Jackson2ExecutionContextStringSerializer.
Does that mean we have to patch spring/Jackson2 modules ?
fmbenhassine
changed the title
Add java.util.concurrent.ConcurrentHashMap to the trusted classes list in Jackson2ExecutionContextStringSerializer
Add java.util.concurrent.ConcurrentHashMap and java.sql.Date to the trusted classes list in Jackson2ExecutionContextStringSerializer
Aug 3, 2023
Hi @fmbenhassine, would it be possible to add java.util.concurrent.ConcurrentHashMap to the trusted classes list in Jackson2ExecutionContextStringSerializer ?
Thanks
The text was updated successfully, but these errors were encountered: