Issue 3209: Illegal return statement (java-rtf) Source: NetAcquire Corporation (Mr. Joachim Achtzehnter, joachima(at)netacquire.com) Nature: Uncategorized Issue Severity: Summary: The method _releaseReply in class org.omg.CORBA.portable.ObjectImpl has a return value of type void, yet the specification requires this implementation: public void _releaseReply(org.omg.CORBA.portable.InputStream is) { return _get_delegate().releaseReply(this, is); } The return statement is illegal in a method with a void return type. Should delete the word 'return' from the specification. PS: Editorial: the diagram on page 1-115 has 'CORBA' missing from some of the class names. Resolution: Closed...editorial issue Revised Text: Actions taken: January 11, 2000: received issue February 7, 2000: closed issue Discussion: End of Annotations:===== Date: Tue, 11 Jan 2000 19:49:16 -0500 (EST) Message-Id: <200001120049.TAA06120@emerald.omg.org> From: joachim@mercury.bc.ca To: juergen@omg.org, web-incoming@omg.org Subject: Issue Report Content-Type: text X-UIDL: %TIe97?B!!+LX!!g~R!! Name: Joachim Avchtzehnter Company: Mercury Scheduling Inc. mailFrom: joachim@mercury.bc.ca Notification: Yes Specification: IDL to Java Language Mapping Section: 1.21.5.3 Formal #: 99-07-53 Version: 2.3 Revision_Date: 06/00/1999 Page: 1-117 Nature: Revision Severity: Minor full_desc: The method _releaseReply in class org.omg.CORBA.portable.ObjectImpl has a return value of type void, yet the specification requires this implementation: public void _releaseReply(org.omg.CORBA.portable.InputStream is) { return _get_delegate().releaseReply(this, is); } The return statement is illegal in a method with a void return type. Should delete the word 'return' from the specification. PS: Editorial: the diagram on page 1-115 has 'CORBA' missing from some of the class names. submit: Submit Issue Report From: Jeffrey Mischkinsky Message-Id: <200002040401.UAA08373@wheel.dcn.davis.ca.us> Subject: Re: issue 3209 -- Java RTF issue To: juergen@omg.org (Juergen Boldt) Date: Thu, 3 Feb 2000 20:01:27 -0800 (PST) Cc: java-rtf@omg.org In-Reply-To: <4.1.20000203151428.00a72ef0@emerald.omg.org> from "Juergen Boldt" at Feb 03, 2000 03:15:05 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: 405e9;mKe9G6g!!l`l!! Juergen, These are BOTH editorial. Please mark as CLOSED EDITORIAL, or better yet lose it from the issues database -- that shouldn't be hard :-) The java sources which the doc clearly states are definitive (because the doc can't be compiled) have it correctly. I was just about the post the updated java chapter, but i'll fix these before sending it in. jeff 'Juergen Boldt' writes: > > This is issue # 3209 > > Illegal return statement > > The method _releaseReply in class org.omg.CORBA.portable.ObjectImpl > has a return value of type void, yet the specification requires this > implementation: > > public void _releaseReply(org.omg.CORBA.portable.InputStream is) { > return _get_delegate().releaseReply(this, is); > } > > The return statement is illegal in a method with a void return > type. Should > delete the word 'return' from the specification. > > PS: Editorial: the diagram on page 1-115 has 'CORBA' missing from > some > of the class names. > > ================================================================ > > Juergen Boldt > Senior Member of Technical Staff > > Object Management Group Tel. +1-781 444 0404 ext. 132 > 250 First Avenue, Suite 201 Fax: +1-781 444 0320 > Needham, MA 02494, USA Email: juergen@omg.org > > > > ================================================================ > -- Jeff Mischkinsky jmischki@dcn.davis.ca.us +1 530-758-9850 jeff@persistence.com +1 650-372-3604