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

#39 Support for Hazelcast 4.0 #40

Merged
merged 3 commits into from
Feb 13, 2020
Merged

Conversation

TomaszGaweda
Copy link

Fixes usage of ClassLoaderUtil, which changed package in 4.0.

Closes #39

@TomaszGaweda
Copy link
Author

`Hi @jerrinot , since 4.0 is out, can you please check and review this PR? Thanks in advance! :)

@jerrinot jerrinot self-assigned this Feb 10, 2020
Copy link
Owner

@jerrinot jerrinot left a comment

Choose a reason for hiding this comment

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

Thank you for this contribution!

Two comments:
Consider encapsulating the strategy into its own class. DelegatingClassResolver would stay a thin glue between Subzero and Kryo. Now it's both the glue and also a strategy to pick the right method. Maybe it's too much? Not sure. Certainly there are worst parts in the current codebase :))

I don't fancy throwing raw RuntimeException. Maybe IllegalStateE is (slightly) better?

…ception changed to IllegalStateException
Copy link
Owner

@jerrinot jerrinot left a comment

Choose a reason for hiding this comment

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

Thank you!

@jerrinot jerrinot merged commit e2a02c8 into jerrinot:master Feb 13, 2020
@jerrinot jerrinot added this to the 0.10 milestone Feb 13, 2020
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.

SubZero support for Hazelcast 4.0
2 participants