Creates a new
MarshalInputStream
that reads marshalled data from the specified
underlying
InputStream
.
This constructor passes in
to the superclass constructor that has an
InputStream
parameter.
defaultLoader
will be passed as the defaultLoader
argument to
ClassLoading#loadClass and
ClassLoading#loadProxyClass whenever those methods are invoked by
#resolveClass and
#resolveProxyClass.
If verifyCodebaseIntegrity
is true
, then the created stream will
verify that all codebase annotation URLs that are used to load classes resolved by the stream
provide content integrity, and whenever
Security#verifyCodebaseIntegrity is invoked to enforce that verification,
verifierLoader
will be passed as the loader
argument. See
ClassLoading#loadClass and
ClassLoading#loadProxyClass for details of how codebase integrity verification is
performed.
context
will be used as the return value of the created stream's
#getObjectStreamContext method.