[ https://issues.apache.org/jira/browse/IGNITE-25882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18007402#comment-18007402 ]
Dmitry Werner edited comment on IGNITE-25882 at 7/16/25 8:18 AM: ----------------------------------------------------------------- List of classes that must implement Serializable because they are marshalled using JdkMarshaller: - org.apache.ignite.internal.processors.service.ServiceDeploymentProcessId (see KillCommandDdlIntegrationTest) - org.apache.ignite.internal.processors.service.ServiceSingleNodeDeploymentResult (see KillCommandDdlIntegrationTest) - org.apache.ignite.internal.processors.query.stat.messages.StatisticsObjectData (see StatisticsCommandDdlIntegrationTest) - org.apache.ignite.internal.processors.query.stat.messages.StatisticsColumnData (see StatisticsCommandDdlIntegrationTest) - org.apache.ignite.internal.processors.query.stat.messages.StatisticsDecimalMessage (see StatisticsCommandDdlIntegrationTest) - org.apache.ignite.internal.processors.query.stat.messages.StatisticsKeyMessage (see StatisticsCommandDdlIntegrationTest) was (Author: JIRAUSER300605): List of classes that must implement Serializable because they are marshalled using JdkMarshaller: - org.apache.ignite.internal.processors.service.ServiceDeploymentProcessId - org.apache.ignite.internal.processors.service.ServiceSingleNodeDeploymentResult - org.apache.ignite.internal.processors.query.stat.messages.StatisticsObjectData - org.apache.ignite.internal.processors.query.stat.messages.StatisticsColumnData - org.apache.ignite.internal.processors.query.stat.messages.StatisticsDecimalMessage - org.apache.ignite.internal.processors.query.stat.messages.StatisticsKeyMessage > Remove Serializable interface from Message > ------------------------------------------ > > Key: IGNITE-25882 > URL: https://issues.apache.org/jira/browse/IGNITE-25882 > Project: Ignite > Issue Type: Task > Reporter: Maksim Timonin > Assignee: Dmitry Werner > Priority: Major > Labels: ise > Time Spent: 10m > Remaining Estimate: 0h > > Currently Message interface extends Serializable. But Ignite use our custom > logic for message serialization (MessageSerializer of Message#writeTo, > Message#readFrom). Then usage of Serializable is useless, but misleading. > What should be done: > # Remove Serializable interface from > org.apache.ignite.plugin.extensions.communication.Message class. > # Remove serialVersionUID from all classes implements the interface. > # If some classes requires java serialization (overrides > writeObject/writeReplace/writeExternal methods) - let's investigate this > cases. -- This message was sent by Atlassian Jira (v8.20.10#820010)