[
https://issues.apache.org/jira/browse/GEODE-8978?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bruce J Schuchardt updated GEODE-8978:
--------------------------------------
Description:
When we introduced the geode-serialization module we created new method
signatures for toData and fromData in the form
{code:java}
void toData(DataOutput out, SerializationContext context) throws IOException;
{code}
and
{code:java}
void fromData(DataInput in, DeserializationContext context)
throws IOException, ClassNotFoundException;
{code}
All DataSerializableFixedID classes were modified to use these signatures but
many continue to use InternalDataSerializer and/or DataSerializer static
methods to perform their work. These should be changed to use the
SerializationContext or DeserializationContext parameter along with
StaticSerialization whenever possible.
was:
When we introduced the geode-serialization module we created new method
signatures for toData and fromData in the form
{code:java}
void toData(DataOutput out, SerializationContext context) throws IOException;
{code}
and
{code:java}
void fromData(DataInput in, DeserializationContext context)
throws IOException, ClassNotFoundException;
{code}
All DataSerializableFixedID classes were modified to use these signatures but
many continue to use InternalDataSerializer and/or DataSerializer static
methods to perform their work. These should be changed to use the
SerializationContext parameter and StaticSerialization whenever possible.
> convert all DataSerializableFixedID classes to stop using
> InternalDataSerializer's static methods
> -------------------------------------------------------------------------------------------------
>
> Key: GEODE-8978
> URL: https://issues.apache.org/jira/browse/GEODE-8978
> Project: Geode
> Issue Type: Improvement
> Components: membership, serialization
> Reporter: Bruce J Schuchardt
> Priority: Major
>
> When we introduced the geode-serialization module we created new method
> signatures for toData and fromData in the form
> {code:java}
> void toData(DataOutput out, SerializationContext context) throws IOException;
> {code}
> and
> {code:java}
> void fromData(DataInput in, DeserializationContext context)
> throws IOException, ClassNotFoundException;
> {code}
> All DataSerializableFixedID classes were modified to use these signatures but
> many continue to use InternalDataSerializer and/or DataSerializer static
> methods to perform their work. These should be changed to use the
> SerializationContext or DeserializationContext parameter along with
> StaticSerialization whenever possible.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)