Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update SerializationService to bring it in line with Java client #22

Merged
merged 1 commit into from
Nov 20, 2015

Conversation

cangencer
Copy link
Contributor

Update default serializers to be constant, and add serializers for List
and LinkedList

@@ -54,29 +52,6 @@ public ISerializer GetImpl()
return _serializer;
}

public override bool Equals(object o)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we need Equal and HashCode methods ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed them because they were not in any code path (never used)

@asimarslan
Copy link
Contributor

What about putting the .Net default serialization in the last step as Java did. It won't be compatible with other clients but would work perfectly for .Net clients.

@cangencer
Copy link
Contributor Author

I've added support for C# Serializable now, which uses type ID -101, which probably should be added to the Java list of constants so that it's reserved.

Incidentally Generic Lists in C# are serializable by default, so at least this way you can serialize/deserialize generic lists directly.

Update default serializers to be constant, and add serializers for List
and LinkedList. Add support for default CLR Serializable serialization.
@cangencer cangencer added this to the 3.6 milestone Nov 17, 2015
@hasancelik
Copy link

verify

@cangencer
Copy link
Contributor Author

verify

@asimarslan
Copy link
Contributor

👍

cangencer added a commit that referenced this pull request Nov 20, 2015
Update SerializationService to bring it in line with Java client
@cangencer cangencer merged commit 10ab0ef into hazelcast:master Nov 20, 2015
@cangencer cangencer deleted the enhancements/serialization branch November 25, 2015 09:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants