/** * Read the Service contexts from the input stream. */ public ServiceContexts(InputStream s) { this((ORB) (s.orb())); // We need to store this so that we can have access // to the CodeBase for unmarshaling possible // RMI-IIOP valuetype data within an encapsulation. // (Known case: UnknownExceptionInfo) codeBase = ((CDRInputStream) s).getCodeBase(); createMapFromInputStream(s); // Fix for bug 4904723 giopVersion = ((CDRInputStream) s).getGIOPVersion(); }
/** * Read the Service contexts from the input stream. */ public ServiceContexts(InputStream s) { this((ORB) (s.orb())); // We need to store this so that we can have access // to the CodeBase for unmarshaling possible // RMI-IIOP valuetype data within an encapsulation. // (Known case: UnknownExceptionInfo) codeBase = ((CDRInputStream) s).getCodeBase(); createMapFromInputStream(s); // Fix for bug 4904723 giopVersion = ((CDRInputStream) s).getGIOPVersion(); }