public class CompensatingClosureSerializer
extends com.esotericsoftware.kryo.kryo5.serializers.ClosureSerializer
SerializedLambda
for a dynamically
generated Serializable closure that was not originally compiled as Serializable in the containing
class. This is needed to properly serialize closures that are not explicitly marked as
Serializable in source code, but are rather transformed at runtime.Constructor and Description |
---|
CompensatingClosureSerializer(ClassLoader loader) |
Modifier and Type | Method and Description |
---|---|
Object |
read(com.esotericsoftware.kryo.kryo5.Kryo kryo,
com.esotericsoftware.kryo.kryo5.io.Input input,
Class type) |
copy, write
public CompensatingClosureSerializer(ClassLoader loader)
Copyright © 2021. All rights reserved.