-
Notifications
You must be signed in to change notification settings - Fork 413
Description
Been working on a project since 2010 in Java, has been migrated through all the versions since. It's essentially outsider art what I'm working on.
Ran into a problem where I tried to serialize a SynchronizedRandomAccessList after migrating from Vectors both of which are part of the Java Standard Library. Easy way to do this, and how I'm going to fix it is simply modify the source of the Java Standard Library to add a no arg constructor for this. I shouldn't have to do this with any library.
What I should be doing is changing Kryo to use the standard strategy to StdInstantiatorStrategy as described in the Kryo Documentation, however KryoNet is using Kryo 2.2.0, instead of 5.0.2 and as such it doesn't exist that far back.
How to fix this:
Update Kryonet to use Kryo 5.x
How to reproduce it:
Try to declare a Instantiate Strategy with the library.