Issue 18420: ModifiableInstanceHandle should be removed (dds-psm-java-rtf) Source: ADLINK Technology Ltd (Mr. Julien Enoch, julien.enoch(at)adlinktech.com) Nature: Revision Severity: Significant Summary: The ModifiableInstanceHandle was not removed along with all other modifiable types. As such it should be removed for consistency, useability and performances. Specificaly the following methods should be removed: - ServiceEnvironment.newInstanceHandle() - DataReader.lookupInstance(ModifiableInstanceHandle handle, TYPE keyHolder) - DataWriter.lookupInstance(ModifiableInstanceHandle handle, TYPE keyHolder) And the following method should be modified to return InstanceHandle: - Sample.getInstanceHandle() - Sample.getPublicationHandle() Notice: the returning ModifialbeInstanceHandle forces defensive copying with obvious consequences in term of performances. Resolution: Revised Text: Actions taken: February 6, 2013: received issue Discussion: End of Annotations:===== m: webmaster@omg.org Date: 06 Feb 2013 04:56:13 -0500 To: Subject: Issue/Bug Report ******************************************************************************* Name: Julien Enoch Employer: PrismTech mailFrom: julien.enoch@prismtech.com Terms_Agreement: I agree Specification: Java 5 DDS PSM Section: N/A FormalNumber: ptc/12-12-04 Version: 1.0 Doc_Year: Year Doc_Month: Month Doc_Day: Day Page: 0 Title: ModifiableInstanceHandle should be removed Nature: Revision Severity: Significant CODE: 3TMw8 B1: Report Issue Description: The ModifiableInstanceHandle was not removed along with all other modifiable types. As such it should be removed for consistency, useability and performances. Specificaly the following methods should be removed: - ServiceEnvironment.newInstanceHandle() - DataReader.lookupInstance(ModifiableInstanceHandle handle, TYPE keyHolder) - DataWriter.lookupInstance(ModifiableInstanceHandle handle, TYPE keyHolder) And the following method should be modified to return InstanceHandle: - Sample.getInstanceHandle() - Sample.getPublicationHandle() Notice: the returning ModifialbeInstanceHandle forces defensive copying with obvious consequences in term of performances.