Class ShadowingObjectInputStream

java.lang.Object
java.io.InputStream
java.io.ObjectInputStream
io.deephaven.shadow.enterprise.com.fishlib.dataobjects.persistence.CustomClassLoaderObjectInputStream<ClassLoader>
io.deephaven.shadow.enterprise.com.fishlib.dataobjects.persistence.RenamingObjectInputStream
io.deephaven.enterprise.compatibility.shadow.ShadowingObjectInputStream
All Implemented Interfaces:
Closeable, DataInput, ObjectInput, ObjectStreamConstants, AutoCloseable

public class ShadowingObjectInputStream extends io.deephaven.shadow.enterprise.com.fishlib.dataobjects.persistence.RenamingObjectInputStream
Enterprise makes extensive use of Java serialization through WObjectOutput/InputStream. Those Stream implementations use a custom encoding to write the data too. The unfortunate consequence of this is that we'll end up with encoded package names that do not match our shadowed versions. This class attempts to dynamically rewrite certain package prefixes at load time into their shadowed versions.