Issue 1353: Marshaling engine issue (obv-rtf) Source: (, ) Nature: Revision Severity: Summary: Summary: Using the idl defined in Issue # 1352, we have the send() method, in interface Foo, which takes a Base value type as it"s formal parameter. Now supposet we wish to pass a Derived value type. When marshaling the list of repository id"s, the marshaling engine has no notion of the formal type of the parameter , thus it does not know how many safe repository id"s it needs to marshal. Resolution: Revised Text: Actions taken: May 15, 1998: received issue July 30, 1998: closed issue Discussion: received issue End of Annotations:===== Return-Path: Sender: "Lenny Phan" Date: Thu, 14 May 1998 17:49:43 -0700 From: Lenny Phan Organization: Visigenic Software, Inc. To: issues@omg.org, obv-rtf@omg.org Subject: obv-rtf issues Issue #2: Using the idl defined in Issue #1353, we have the send() method, in interface Foo, which takes a Base value type as it's formal parameter. Now supposet we wish to pass a Derived value type. When marshaling the list of repository id's, the marshaling engine has no notion of the formal type of the parameter , thus it does not know how many safe repository id's it needs to marshal. Proposal: The OutputStream method write_Value(java.io.Serializable obj) should be changed to public abstract void write_Value(java.io.Serializable obj, String formal_type_id); where formal_type_id is the repository id of the formal type of the argument. Thus, the marshaling engine now has a way of comparing repository id's (obtained from the static table in Issue #1) and is able to determine how many repository id's to marshal on to the wire. regards, Lenny -- Lenny Phan Tel: 650-286-2465 Inprise Corp. Fax: 650-286-2475 951 Mariner's Island Blvd. lphan@corp.inprise.com San Mateo, CA 94404 http://www.inprise.com