Issue 10553: Request clarification: what can you do with a deleted object? (data-distribution-rtf) Source: OCI (Mr. Donald Busch, busch_d(at)ociweb.com) Nature: Clarification Severity: Summary: If I have a handle on an object (such as a Foo), and the Foo is deleted from underneath me, I understand that I'll get an AlreadyDeleted exception if I try to do anything (call a setter or a getter) on the Foo. However, it seems like you should be able to get the OID and the read_state (which should be OBJECT_DELETED) from a deleted object. Can you? Can I call oid() and read_state() on a deleted object without getting an AlreadyDeleted exception? Resolution: Revised Text: Actions taken: December 22, 2006: received issue Discussion: End of Annotations:===== il-OSG: VUGxsO8VM1n5k3Grs3eckawYMhUySwjClzVMCdfrDmcDYsWpo75nyM3i5.DvxqVFMS3u0zdGtm4U2dONdNDh5i.PoYbyvt7oK1QZ9lvE9g6pcwI4UO.5EJUw1ihrtK5AqKs2LOXOOepakJE- Date: Fri, 22 Dec 2006 17:03:24 -0600 From: Don Busch User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) To: issues@omg.org Subject: DDS 06-04-09, DLRL Issue: Request clarification: what can you do with a deleted object? If I have a handle on an object (such as a Foo), and the Foo is deleted from underneath me, I understand that I'll get an AlreadyDeleted exception if I try to do anything (call a setter or a getter) on the Foo. However, it seems like you should be able to get the OID and the read_state (which should be OBJECT_DELETED) from a deleted object. Can you? Can I call oid() and read_state() on a deleted object without getting an AlreadyDeleted exception? -Don Busch -- ---------------------------------------------------------------- Don Busch, Principal Software Engineer and Partner Object Computing, Inc. (OCI) http://www.ociweb.com http://www.theaceorb.com http://jacorb.ociweb.com "Never let what you can't do get in the way of what you can do." - John Wooden X-YMail-OSG: Ya0L4R8VM1n7GkFbjE3SPspeFGTtNDkRd47twVUm0ow_ldMQ6b6_f7qY.QRB2mbocObdO2xuOhIQv5ceZhSlpgjyICqoZ9bacsH_0mXsxFLnfWNvXWw- Date: Wed, 09 May 2007 13:28:08 -0500 From: Don Busch User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) To: data-distribution-rtf@omg.org Subject: [Issue 10553] Add the following text to Section 8.1.6.3.14, the ObjectRoot::destroy() description: "After an object has beed destroyed, some references to it may still exist in the application. The application may successfully access the oid and read_state (and object_home?) attributes after the object has been destroyed" -- ---------------------------------------------------------------- Don Busch, Principal Software Engineer and Partner Object Computing, Inc. (OCI) http://www.ociweb.com http://www.theaceorb.com http://jacorb.ociweb.com "Never let what you can't do get in the way of what you can do." - John Wooden ---------------------------------------------------------------- ----------------------------------------------------------------