Vladimir Steshin created IGNITE-28637:
-----------------------------------------
Summary: Revise using the origin message class loader and
serializer.
Key: IGNITE-28637
URL: https://issues.apache.org/jira/browse/IGNITE-28637
Project: Ignite
Issue Type: Improvement
Reporter: Vladimir Steshin
InĀ {_}CoreMessagesProvider{_}, we use resolved class loader for
{_}DynamicCacheChangeBatch{_}:
{code:java}
withNoSchemaResolvedClassLoader(DynamicCacheChangeRequest.class); {code}
Actually, this message is quite simple and doesn't require specific class
loader. We have to use it because the message holds user-data-customizedĀ
_DynamicCacheChangeRequest_ which depends on resolved class loader.
The problem is that we take marshaller and class loader for inner messages from
original message being serialized. Instead, we should get serializaer and class
loader from current message config/registration in the factory.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)