-
Notifications
You must be signed in to change notification settings - Fork 828
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
Unable to register serializers due to visibility problems #923
Labels
Comments
@gzsombor: I agree, registering immutable collections is quite cumbersome at the moment. I'm open to adding helper functions to It would be great if you could provide a PR. |
Sorry to not sending PR, but your change looks good to me! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I need to serialize objects which contains fields, which are initialized with java.util.List.of(a,b,c,d) Kyro throws this exception:
I don't want to kryo.setRegistrationRequired(false), as - in my understanding - could lead to less performance, and potential incompatibilities. However, I can't really register serializer by itself, the best that I could came up with:
It seems to be working, but having helper functions on ImmutableCollectionsSerializers, which would do this initialization would be super helpful
To Reproduce
Provide a minimal reproducible example of the problem, ideally in the form of a runnable test-case.
Environment:
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: