Issue 1536: Helper classes are only for user defined IDL types (java-rtf) Source: (, ) Nature: Clarification Severity: Significant Summary: Summary: The Java Language Mapping mandates Helper classes for user defined IDL types but does not say Helper classes are ONLY for user defined IDL types. Please let us all know whether the ObjectHelper class is standard or not. Resolution: closed issue Revised Text: Actions taken: June 23, 1998: received issue July 30, 1998: closed issue Discussion: End of Annotations:===== Return-Path: Date: Mon, 22 Jun 1998 20:19:37 -0400 From: www To: juergen@omg.org, web-incoming@omg.org Subject: WWW Form output Name: Richard Staehli Company: Oracle Email: rstaehli@us.oracle.com Notification: Yes Specification: CORBA Arch & Spec Section: 24.16.13 Formal #: Version: Revision 2.2 Revision_Date: Page: 928 Nature: Clarification Severity: Significant full_desc: The Java Language Mapping mandates Helper classes for user defined IDL types but does not say Helper classes are ONLY for user defined IDL types. In section 24.16.13, the spec states: The IDL Object type is mapped to the ore.omg.CORBA.Object and org.omg.CORBA.ObjectHelper classes as shown below. This is the only mention of the ObjectHelper class and it appears to be a mistake, since there is no apparent need for the operations that an ObjectHelper class would provide. Of course, if some IDL compilers produce stubs that depend on an ObjectHelper class, these stubs will not be portable to an ORB that does not implement the ObjectHelper class. Please let us all know whether the ObjectHelper class is standard or not. Thanks. submit: Submit Issue Report Return-Path: Date: Tue, 23 Jun 1998 09:07:31 -0700 From: Jeff.Nisewanger@Eng.Sun.COM (Jeff Nisewanger) To: issues@omg.org, java-rtf@omg.org, juergen@omg.org Subject: Re: issue1536 X-Sun-Charset: US-ASCII > This is issue # 1536 > > Helper classes are only for user defined IDL types > > The Java Language Mapping mandates Helper classes for user defined > IDL > types but does not say Helper classes are ONLY for user defined IDL > types. > Please let us all know whether the ObjectHelper class is standard or > not. I don't believe that ObjectHelper is defined as a standard class by the Java to IDL language mapping. Instead, the usual Helper class methods such as insert(), extract() and id() for the Object interface are available on other standard classes such as Any insert_Object() and extract_Object() and the ORB class via get_primitive_tc(TCKind.tk_objref).id(). Also, there is no need for the narrow() method since Object is the base type for all IDL Objects. Jeff Return-Path: Date: Tue, 23 Jun 1998 09:27:20 -0700 From: Jeff.Nisewanger@Eng.Sun.COM (Jeff Nisewanger) To: issues@omg.org, java-rtf@omg.org, juergen@omg.org, Jeff.Nisewanger@Eng.Sun.COM Subject: Re: issue1536 X-Sun-Charset: US-ASCII > > This is issue # 1536 > > > > Helper classes are only for user defined IDL types > > > > The Java Language Mapping mandates Helper classes for user defined > IDL > > types but does not say Helper classes are ONLY for user defined > IDL types. > > Please let us all know whether the ObjectHelper class is standard > or not. > > I don't believe that ObjectHelper is defined as a standard > class by the Java to IDL language mapping. Instead, the usual Helper > class methods such as insert(), extract() and id() for the Object > interface are available on other standard classes such as Any > insert_Object() and extract_Object() and the ORB class via > get_primitive_tc(TCKind.tk_objref).id(). Also, there is no need for > the narrow() method since Object is the base type for all IDL > Objects. Whoops, make that the "IDL to Java" language mapping.