scala / pickling

Fast, customizable, boilerplate-free pickling support for Scala
lampwww.epfl.ch/~hmiller/pickling
BSD 3-Clause "New" or "Revised" License
831 stars 79 forks source link

Registry is not initialized when we switch runtimes #415

Closed jvican closed 8 years ago

jvican commented 8 years ago

It happens because when we switch runtimes we don't reinitialize all the registry and state that was attached to the old runtime strategy. To make it work, we have to ask for an implicit pickler of a standard type (e.g. implicitly[Pickler[List[String]]]). This is a shoddy workaround that has to be done by the user instead of scala pickling.