Issue 2581: set_policy_overrides" operation defined twice (messaging-rtf) Source: (, ) Nature: Clarification Severity: Significant Summary: Summary: The Messaging::PolicyManager interface defines a "set_policy_overrides" operation, but this operation is also defined in the CORBA::Object interface. IDL prohibits the redefinition of an operation in derived interfaces, this may not apply in this case because CORBA::Object is a pseudo-object. Still, in C++ this operation names result in ambiguities because both have the same parameters but different return values. Resolution: close, no change Revised Text: Actions taken: April 9, 1999: received issue April 26, 2010: closed issue Discussion: The names of Object pseudo operations are not in the name space of IDL operations, hence there is no clash. Even in the C++ mapping the Object pseudo operations are name-munged with a _ prefix to ensure that they do not clash with real IDL defined operation names End of Annotations:===== Date: Fri, 9 Apr 1999 11:20:46 -0400 (EDT) From: coryan@cs.wustl.edu To: juergen@omg.org, web-incoming@omg.org Subject: Issue Report Name: Carlos O'Ryan Company: Washington University mailFrom: coryan@cs.wustl.edu Notification: Yes Specification: CORBA Messaging Section: 5 Formal #: orbos/98-05-06 Version: Revision_Date: 05/18/1998 Page: 35-38 Nature: Clarification Severity: Significant full_desc: The Messaging::PolicyManager interface defines a "set_policy_overrides" operation, but this operation is also defined in the CORBA::Object interface. IDL prohibits the redefinition of an operation in derived interfaces, this may not apply in this case because CORBA::Object is a pseudo-object. Still, in C++ this operation names result in ambiguities because both have the same parameters but different return values. submit: Submit Issue Report Date: Tue, 03 Apr 2001 18:35:37 -0400 From: Jishnu Mukerji Organization: Hewlett-Packard EIAL, Florham Park NJ USA X-Mailer: Mozilla 4.73 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: orb_revision@omg.org Subject: Issue 2581 proposed resolution Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: )oI!!F-?!!:=X!!<;*!! Status: RO Issue 2581: set_policy_overrides" operation defined twice (messaging-rtf) Click here for this issue's archive. Nature: Clarification Severity: Significant Summary: The Messaging::PolicyManager interface defines a "set_policy_overrides" operation, but this operation is also defined in the CORBA::Object interface. IDL prohibits the redefinition of an operation in derived interfaces, this may not apply in this case because CORBA::Object is a pseudo-object. Still, in C++ this operation names result in ambiguities because both have the same parameters but different return values. Resolution: The names of Object pseudo operations are not in the name space of IDL operations, hence there is no clash. Even in the C++ mapping the Object pseudo operations are name-munged with a _ prefix to ensure that they do not clash with real IDL defined operation names Revised Text: Actions taken: Close no change ________________________________________________________________________ The above resolution will appear in the next vote unless someone feels that this needs further discussion. Thanks, Jishnu.