Issue 1782: New OBV "supports" keyword conflicts with CosLifeCycle (obv-rtf) Source: (, ) Nature: Revision Severity: Significant Summary: Summary: The new OBV keyword "supports" collides with the operation "supports" defined in CosLifeCycle::GenericFactory. Resolution: :GenericFactory. Revised Text: Actions taken: August 7, 1998: received issue February 24, 1999: closed issue Discussion: End of Annotations:===== Return-Path: Sender: "George Scott" Date: Thu, 06 Aug 1998 18:45:12 -0700 From: "George M. Scott" Organization: Inprise Corporation To: orb_revision@omg.org, obv-rtf@omg.org CC: issues@omg.org Subject: New OBV "supports" keyword conflicts with CosLifeCycle The new OBV keyword "supports" collides with the operation "supports" defined in CosLifeCycle::GenericFactory. Proposal: Escape the supports delcaration using the new escaped identifiers synatx. Change the definition in Figure 6-9 on page 6-11 of CORBAservices from: interface GenericFactory { boolean supports(in Key k); ... }; to: interface GenericFactory { boolean _supports(in Key k); ... }; George Return-Path: X-Sender: giddiv@gamma Date: Thu, 6 Aug 1998 23:21:05 -0400 To: "George M. Scott" , orb_revision@omg.org, obv-rtf@omg.org From: Victor Giddings Subject: Re: New OBV "supports" keyword conflicts with CosLifeCycle Cc: issues@omg.org Except that legal IDL identifiers cannot begin with "-". At 6:45 PM -0700 8/6/98, George M. Scott wrote: >The new OBV keyword "supports" collides with the operation "supports" >defined in CosLifeCycle::GenericFactory. > >Proposal: > >Escape the supports delcaration using the new escaped identifiers synatx. > >Change the definition in Figure 6-9 on page 6-11 of CORBAservices from: > >interface GenericFactory { > boolean supports(in Key k); > ... >}; > >to: > >interface GenericFactory { > boolean _supports(in Key k); > ... >}; > >George Victor Giddings victor.giddings@ois.com Senior Product Engineer Objective Interface Systems 703-295-6500 1892 Preston White Drive Fax: 703-295-6501 Reston, VA 22091-5448 Return-Path: From: Mike_Spreitzer.PARC@xerox.com X-NS-Transport-ID: 0000AA002B747383398A Date: Thu, 6 Aug 1998 20:33:18 PDT Subject: Re: New OBV "supports" keyword conflicts with CosLifeCycle To: victor.giddings@ois.COM cc: gscott@inprise.COM, orb_revision@omg.org, obv-rtf@omg.org > Except that legal IDL identifiers cannot begin with "-". I presume you meant "_". In "the new escaped identifiers syn[ta]x" to which George referred, any identifier can be prefixed with an underscore, and it means the identifier doesn't include the underscore --- it's just there to resolve grammatical ambiguities between keywords and identifiers that would otherwise be written the same way. Return-Path: Date: Sat, 08 Aug 1998 00:44:23 +0100 From: Simon Nash Reply-To: nash@hursley.ibm.com Organization: IBM To: "George M. Scott" Cc: orb_revision@omg.org, obv-rtf@omg.org Subject: Re: New OBV "supports" keyword conflicts with CosLifeCycle References: <35CA5C28.3050856D@inprise.com> George, Sounds good to me. Simon George M. Scott wrote: > > The new OBV keyword "supports" collides with the operation > "supports" > defined in CosLifeCycle::GenericFactory. > > Proposal: > > Escape the supports delcaration using the new escaped identifiers > synatx. > > Change the definition in Figure 6-9 on page 6-11 of CORBAservices > from: > > interface GenericFactory { > boolean supports(in Key k); > ... > }; > > to: > > interface GenericFactory { > boolean _supports(in Key k); > ... > }; > > George -- Simon C Nash, IBM Java Technology Centre, Hursley, UK MailPoint 146, x245156 Tel. 01962 815156 or +44-1962-815156 Internet: nash@hursley.ibm.com Notes mail: Simon Nash@ibmgb