Skip to content

Conversation

@mdumandag
Copy link
Contributor

When class definitions for two different classes with the same class id
but different factory ids are registered, we were throwing an error
indicating that there are duplicate registrations. However, we should
allow such cases.

Apart from the fix for that, the PR also includes a test case for
null portable serialization.

Closes #199

When class definitions for two different classes with the same class id
but different factory ids are registered, we were throwing an error
indicating that there are duplicate registrations. However, we should
allow such cases.

Apart from the fix for that, the PR also includes a test case for
null portable serialization.

Closes hazelcast#199
@mdumandag mdumandag merged commit 27ac8ad into hazelcast:master Nov 9, 2020
@mdumandag mdumandag deleted the class-def-fix branch November 9, 2020 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Explicitly registering Portable ClassDefinitions fails with multiple PortableFactories and overlapping classIds

2 participants