Issue 1382: Narrowing from abstract interfaces (obv-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: Summary: It has been pointed out to me that we have no way of narrowing from abstract interfaces to non-abstract interfaces and value classes. In Java, the helper"s narrow method has a signature of org.omg.CORBA.Object, so it cannot take an abstract interface type. In C++, the generated classes for abstract interfaces have an _narrow method with the right signature (taking an AbstractBase_ptr), but generated classes for values and regular interfaces don"t have such a method. It seems like we would need to add overloaded narrow methods in all these places to make this work as envisaged in (for example) numbered paragraph 3 of section 8.3. Resolution: Revised Text: Actions taken: May 18, 1998: received issue July 30, 1998: closed issue Discussion: End of Annotations:===== Return-Path: Date: Mon, 18 May 1998 23:21:44 +0100 From: Simon Nash Reply-To: nash@hursley.ibm.com Organization: IBM To: obv-rtf@omg.org Cc: issues@omg.org Subject: Narrowing from abstract interfaces It has been pointed out to me that we have no way of narrowing from abstract interfaces to non-abstract interfaces and value classes. In Java, the helper's narrow method has a signature of org.omg.CORBA.Object, so it cannot take an abstract interface type. In C++, the generated classes for abstract interfaces have an _narrow method with the right signature (taking an AbstractBase_ptr), but generated classes for values and regular interfaces don't have such a method. It seems like we would need to add overloaded narrow methods in all these places to make this work as envisaged in (for example) numbered paragraph 3 of section 8.3. Simon -- 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