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

Class argument for ScalaCollectionSerializer#read #1

Open
alexstaytuned opened this issue Apr 7, 2013 · 0 comments
Open

Class argument for ScalaCollectionSerializer#read #1

alexstaytuned opened this issue Apr 7, 2013 · 0 comments

Comments

@alexstaytuned
Copy link

I was wondering if you can give an example on how to invoke ScalaCollectionSerializer#read. Seems like:
read(kryo: Kryo, input: Input, typ: Class[Traversable[_]])
only accepts classes that are Traversable, not any subclasses/implementations of it. Also, even if I override the read method with my own, readReferenceIds's size is 0, which causes an ArrayIndexOutOfBoundsException exception.

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

No branches or pull requests

1 participant