Issue 4497: Mapping subclasses of custom-marshaled Java classes to IDL (java2idl-rtf) Source: (Mr. Simon C. Nash, ) Nature: Uncategorized Issue Severity: Summary: The Java to IDL mapping spec says that serializable Java classes that have a writeObject method are mapped to IDL custom valuetypes. This should also apply to any Java subclasses of these classes, since otherwise the generated IDL is illegal. (An IDL non-custom valuetype can't inherit from an IDL custom valuetype.) Proposed resolution: In section 1.3.5.6 of the Java to IDL mapping spec, change the first sentence of the second paragraph from If the class does not implement java.io.Externalizable but does have a writeObject method, ... to: If the class does not implement java.io.Externalizable but does have a writeObject method, or extends such a class directly or indirectly, ... Resolution: Closed, accepted. See revised text below Revised Text: In section 1.3.5.6 of the Java to IDL mapping spec, change the first sentence of the second paragraph from: If the class does not implement java.io.Externalizable but does have a writeObject method, ... to: If the class does not implement java.io.Externalizable but does have a writeObject method, or extends such a class directly or indirectly, ... Actions taken: August 15, 2001: received issue May 13, 2002: closed issue Discussion: . End of Annotations:===== Date: Wed, 15 Aug 2001 12:24:10 +0100 From: Simon Nash Organization: IBM X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: issues@omg.org CC: java2idl-rtf@omg.org Subject: Mapping subclasses of custom-marshaled Java classes to IDL Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: g-f!!Fk~e9!+Le9])Vd9 The Java to IDL mapping spec says that serializable Java classes that have a writeObject method are mapped to IDL custom valuetypes. This should also apply to any Java subclasses of these classes, since otherwise the generated IDL is illegal. (An IDL non-custom valuetype can't inherit from an IDL custom valuetype.) Proposed resolution: In section 1.3.5.6 of the Java to IDL mapping spec, change the first sentence of the second paragraph from If the class does not implement java.io.Externalizable but does have a writeObject method, ... to: If the class does not implement java.io.Externalizable but does have a writeObject method, or extends such a class directly or indirectly, ... Simon -- Simon C Nash, Chief Technical Officer, IBM Java Technology Tel. +44-1962-815156 Fax +44-1962-818999 Hursley, England Internet: nash@hursley.ibm.com Lotus Notes: Simon Nash@ibmgb Date: Thu, 18 Oct 2001 16:52:35 +0100 From: Simon Nash Organization: IBM X-Mailer: Mozilla 4.72 [en] (Windows NT 5.0; I) X-Accept-Language: en MIME-Version: 1.0 To: Andy Piper , Yoshitaka Honishi , Mary Leland , Vijay Natarajan , Jeff Mischkinsky , Stefan Bauer CC: java2idl-rtf@omg.org Subject: Issue 4497 proposed resolution (java2idl-rtf) Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: /%2!!SH(!!A]I!!A[\d9 Here is a proposed resolution for issue 4497: In section 1.3.5.6 of the Java to IDL mapping spec, change the first sentence of the second paragraph from If the class does not implement java.io.Externalizable but does have a writeObject method, ... to: If the class does not implement java.io.Externalizable but does have a writeObject method, or extends such a class directly or indirectly, ... If there are no objections to this, I will put it into the next vote. Simon -- Simon C Nash, Chief Technical Officer, IBM Java Technology Tel. +44-1962-815156 Fax +44-1962-818999 Hursley, England Internet: nash@hursley.ibm.com Lotus Notes: Simon Nash@ibmgb From: Jeffrey Mischkinsky Message-Id: <200110181656.JAA02718@wheel.dcn.davis.ca.us> Subject: Re: Issue 4497 proposed resolution (java2idl-rtf) To: nash@hursley.ibm.com (Simon Nash) Date: Thu, 18 Oct 2001 09:56:58 -0700 (PDT) Cc: andyp@bea.com (Andy Piper), honi@fsc.fujitsu.com (Yoshitaka Honishi), mleland@fpk.hp.com (Mary Leland), vnatarajan@borland.com (Vijay Natarajan), jeff.mischkinsky@oracle.com (Jeff Mischkinsky), stefan.bauer@Sun.COM (Stefan Bauer), java2idl-rtf@omg.org In-Reply-To: <3BCEFAC2.5822C0BC@hursley.ibm.com> from "Simon Nash" at Oct 18, 2001 04:52:35 PM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: a?gd9]ACe98J8e9p0?!! 'Simon Nash' writes: > > Here is a proposed resolution for issue 4497: > > In section 1.3.5.6 of the Java to IDL mapping spec, change the first sentence > of the second paragraph from > > If the class does not implement java.io.Externalizable but does have a writeObject > method, ... > > to: > > If the class does not implement java.io.Externalizable but does have a writeObject > method, or extends such a class directly or indirectly, ... > > If there are no objections to this, I will put it into the next vote. silence is golden :-) but now that i've broken it, I have to say "no objections". Actually this is just to remind you that I am lurking around. :-) jeff > > Simon > -- > Simon C Nash, Chief Technical Officer, IBM Java Technology > Tel. +44-1962-815156 Fax +44-1962-818999 Hursley, England > Internet: nash@hursley.ibm.com Lotus Notes: Simon Nash@ibmgb > -- Jeff Mischkinsky jmischki@dcn.davis.ca.us +1 530-758-9850 jeff.mischkinsky@oracle.com +1 650-506-1975 Date: Thu, 18 Oct 2001 18:50:27 -0400 (EDT) From: Bob Scheifler - SMI Software Development Reply-To: Bob Scheifler - SMI Software Development Subject: Re: Issue 4497 proposed resolution (java2idl-rtf) To: nash@hursley.ibm.com Cc: java2idl-rtf@omg.org, andyp@bea.com, honi@fsc.fujitsu.com, mleland@fpk.hp.com, vnatarajan@borland.com, jeff.mischkinsky@oracle.com, stefan.bauer@Sun.COM MIME-Version: 1.0 Content-MD5: 8ws0hNSspVrNH51B4fUGJg== X-Mailer: dtmail 1.2.1 CDE Version 1.2.1 SunOS 5.6 sun4u sparc Content-Type: TEXT/plain; charset=us-ascii X-UIDL: N2Ud9)6n!!"6Sd9c$%e9 > If the class does not implement java.io.Externalizable but does have a > writeObject method, or extends such a class directly or indirectly, ... Looks fine. - Bob