-
Notifications
You must be signed in to change notification settings - Fork 626
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GH-2609: Restore ClassLoader for SerMC & SimpleMC
Fixes: #2609 The deserialization functionality must rely on the `ClassLoader` from the application context (at least, by default). * Fix `SimpleMessageConverter` to accept `BeanClassLoaderAware` and use it for `ConfigurableObjectInputStream` * Fix `SerializerMessageConverter` to accept `BeanClassLoaderAware` * Remove reflection for the `new DirectFieldAccessor(deserializer).getPropertyValue("classLoader")` from the `SerializerMessageConverter` since it is not this converter responsibility to interfere into provided `Deserializer` logic **Cherry-pick to `3.0.x`** (cherry picked from commit e7be534)
- Loading branch information
1 parent
ca51ca6
commit 780aeac
Showing
3 changed files
with
58 additions
and
83 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
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