Issue 4010: Should valuetype helper insert/extract make copies? (java-rtf) Source: (Mr. Simon C. Nash, ) Nature: Uncategorized Issue Severity: Summary: The adopted resolution for issue 2531 has clarified that the Any.insert_Value and Any.extract_Value methods don't make copies of the Serializable parameter passed to insert_Value. Should the same be true for the valuetype helper's insert and extract methods? The IDL to Java mapping spec does not say anything about the copying semantics of helper insert and extract methods. Resolution: Incorporate change and close issue Revised Text: Add the following sentence at the end of the first paragraph of section 1.5.2: "The Any insert and extract operations for Valuetype helper classes do not copy their arguments: they implement reference semantics just like Any.insert_Value and Any.extract_Value." Actions taken: November 1, 2000: received issue April 28, 2003: closed issue Discussion: End of Annotations:===== Date: Wed, 01 Nov 2000 00:46:22 +0000 From: Simon Nash Organization: IBM X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org CC: java-rtf@omg.org Subject: Should valuetype helper insert/extract make copies? Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: g34e9*!Nd9)`[d9A@od9 The adopted resolution for issue 2531 has clarified that the Any.insert_Value and Any.extract_Value methods don't make copies of the Serializable parameter passed to insert_Value. Should the same be true for the valuetype helper's insert and extract methods? The IDL to Java mapping spec does not say anything about the copying semantics of helper insert and extract methods. Simon -- Simon C Nash, Technology Architect, IBM Java Technology Centre Tel. +44-1962-815156 Fax +44-1962-818999 Hursley, England Internet: nash@hursley.ibm.com Lotus Notes: Simon Nash@ibmgb Issue 4010: Should valuetype helper insert/extract make copies? ------------------------------------------------------------------------------------------- Summary: The adopted resolution for issue 2531 has clarified that the Any.insert_Value and Any.extract_Value methods don't make copies of the Serializable parameter passed to insert_Value. Should the same be true for the valuetype helper's insert and extract methods? The IDL to Java mapping spec does not say anything about the copying semantics of helper insert and extract methods. Proposed Resolution: Add the following sentence at the end of the first paragraph of section 1.5.2: "The Any insert and extract operations for Valuetype helper classes do not copy their arguments: they implement reference semantics just like Any.insert_Value and Any.extract_Value."