Relates :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
Per the serialization specification, the readResolve method is supposed to be declared as follows: ANY-ACCESS-MODIFIER Object readResolve() throws ObjectStreamException; https://docs.oracle.com/javase/10/docs/specs/serialization/input.html#the-readresolve-method The SerializedLambda class instead declares readResolve to throw ReflectiveOperationException.