-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
INT-4394: Fix compatibility with Jackson JSON
JIRA: https://jira.spring.io/browse/INT-4394 Looks like Jackson has became much smarter and now it stores the target type for the object, not returned interface. We can't use Jackson annotations on the Framework classes and we can't restrict the `messagingAwareMapper()` `ObjectMapper` just to use fields for all the object passed through it. As a compromise solution we shouldn't use `Collections.unmodifiableList()` in the getter. The copy of the internal collection is pretty enough to protect our object from mutation. **Cherry-pick to 4.3.x (excluding `build.gradle` change)** # Conflicts: # build.gradle
- Loading branch information
1 parent
78d09e1
commit 4f0f3d1
Showing
2 changed files
with
18 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters