Is your feature request related to a problem? Please describe.
Scala has its own collections, which is different from jdk collections. And scala collections customized jdk serialization.
For example, scala.collection.immutable.List customized writeReplace method.