Issue 4296: javax.rmi.CORBA.Util.isLocal RemoteException condition(s) not specified (java2idl-rtf) Source: Oracle (Dr. Harold Carr, Ph.D., nobody) Nature: Uncategorized Issue Severity: Summary: The Java to IDL spec (http://cgi.omg.org/cgi-bin/doc?ptc/00-01-06, section 1.5.1.4 page 47) says: "The isLocal method has the same semantics as the ObjectImpl._is_local method, except that it can throw a RemoteException." However, it does not specify under what conditions a remote exception is thrown. Either the exception condition(s) should be specified or the exception should be removed from the signature. Resolution: See revised text below Revised Text: In document ptc/00-12-03 section 1.5.1.4, change "The isLocal method has the same semantics as the ObjectImpl._is_local method, except that it can throw a RemoteException." to: "The isLocal method has the same semantics as the ObjectImpl._is_local method, except that instead of throwing an org.omg.CORBA.SystemException, it throws a java.rmi.RemoteException that is the result of passing the SystemException to the mapSystemException method." Actions taken: May 8, 2001: received issue October 3, 2001: closed issue Discussion: End of Annotations:===== X-Authentication-Warning: emerald.omg.org: hobbit.omg.org [192.67.184.3] didn't use HELO protocol Received: from mercury.sun.com (192.9.25.1) by hobbit.omg.org asmtp(1.0) id 19986; Tue, 08 May 2001 11:56:53 -0400 (EDT) Received: from shorter.eng.sun.com ([129.144.251.35]) by mercury.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id IAA05865; Tue, 8 May 2001 08:52:13 -0700 (PDT) Received: from pinyon-slc.eng.sun.com (dsl196-254 [129.146.196.254]) by shorter.eng.sun.com (8.9.3+Sun/8.9.3/ENSMAIL,v2.1p1) with ESMTP id IAA12989; Tue, 8 May 2001 08:52:11 -0700 (PDT) Date: Tue, 8 May 2001 08:52:10 -0700 (PDT) Message-Id: <200105081552.IAA12989@shorter.eng.sun.com> From: Harold Carr To: java2idl-rtf@omg.org, issues@omg.org Subject: javax.rmi.CORBA.Util.isLocal RemoteException condition(s) not specified Content-Type: text X-UIDL: (!I!!Fk&!![[>e9e*Ne9 The Java to IDL spec (http://cgi.omg.org/cgi-bin/doc?ptc/00-01-06, section 1.5.1.4 page 47) says: "The isLocal method has the same semantics as the ObjectImpl._is_local method, except that it can throw a RemoteException." However, it does not specify under what conditions a remote exception is thrown. Either the exception condition(s) should be specified or the exception should be removed from the signature. Date: Tue, 05 Jun 2001 17:35:32 +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: Mary Leland , vnatarajan@borland.com, Yoshitaka Honishi , jeff.mischkinsky@oracle.com, stefan.bauer@Eng.Sun.COM CC: java2idl-rtf@omg.org Subject: java2idl issue 4296 proposed resolution Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii X-UIDL: Pmbd9B2Oe9X1+e9_J8e9 The following proposed resolution for issue 4296 will be in Java to IDL RTF vote 1 which I will send out shortly: In document ptc/00-12-03 section 1.5.1.4, change "The isLocal method has the same semantics as the ObjectImpl._is_local method, except that it can throw a RemoteException." to: "The isLocal method has the same semantics as the ObjectImpl._is_local method, except that instead of throwing an org.omg.CORBA.SystemException, it throws a java.rmi.RemoteException that is the result of passing the SystemException to the mapSystemException method." 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