Class AliasingObjectInputStream

All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants, AutoCloseable

public class AliasingObjectInputStream extends ModuleObjectInputStream
This ObjectInputStream will use the defined alias class when deserializing, or if not defined or class doesn't match alias, then this ObjectInputStream will deserialize using the local class descriptor if the descriptor from the serialized stream doesn't have an identical serial version UID. This will ensure that the local descriptor is used to prevent incompatible classes due to Serializable class definition or path changes between versions.