Issue 5595: Should javadoc statement be removed or should method be removed? (java-rtf) Source: (, ) Nature: Uncategorized Issue Severity: Summary: The org\omg\CORBA\Object.java includes: /** *@deprecated Deprecated by CORBA 2.3 */ org.omg.CORBA.InterfaceDef _get_interface(); Which causes the the application code: public abstract class x extends org.omg.CORBA.LocalObject implements xl {} public interface xl extends org.omg.CORBA.LocalInterface, org.omg.CORBA.portable.IDLEntity {} to compile with a warning: x.java:1: warning: _get_interface() in org.omg.CORBA.Object has been deprecated I'm wondering whether the javadoc statement should be removed or whether the method should be removed? Resolution: close issue Revised Text: Actions taken: August 26, 2002: received issue April 28, 2003: closed issue Discussion: End of Annotations:===== Subject: Another issue with PTC/02-01-02 and PTC/02-06-14 [Java RTF -- The updated omg.zip file]... Date: Mon, 26 Aug 2002 12:21:35 -0700 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Another issue with PTC/02-01-02 and PTC/02-06-14 [Java RTF -- The updated omg.zip file]... Thread-Index: AcJNNcs7QH+51Q22TGi8nKNfgUNlbg== From: "George, David (Tandem)" To: Cc: X-OriginalArrivalTime: 26 Aug 2002 19:23:22.0158 (UTC) FILETIME=[0A9F4CE0:01C24D36] Hello, The org\omg\CORBA\Object.java includes: /** *@deprecated Deprecated by CORBA 2.3 */ org.omg.CORBA.InterfaceDef _get_interface(); Which causes the the application code: public abstract class x extends org.omg.CORBA.LocalObject implements xl {} public interface xl extends org.omg.CORBA.LocalInterface, org.omg.CORBA.portable.IDLEntity {} to compile with a warning: x.java:1: warning: _get_interface() in org.omg.CORBA.Object has been deprecated I'm wondering whether the javadoc statement should be removed or whether the method should be removed? -dave. Date: Tue, 27 Aug 2002 00:27:41 -0700 (PDT) From: Ken Cavanaugh Reply-To: Ken Cavanaugh Subject: Re: Another issue with PTC/02-01-02 and PTC/02-06-14 [Java RTF -- The updated omg.zip file]... To: issues@omg.org, D.George@hp.com Cc: java-rtf@omg.org X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc >X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 >content-class: urn:content-classes:message >MIME-Version: 1.0 >Subject: Another issue with PTC/02-01-02 and PTC/02-06-14 [Java RTF >-- The updated omg.zip file]... >X-MS-Has-Attach: >X-MS-TNEF-Correlator: >Thread-Topic: Another issue with PTC/02-01-02 and PTC/02-06-14 [Java >RTF -- The updated omg.zip file]... >Thread-Index: AcJNNcs7QH+51Q22TGi8nKNfgUNlbg== >From: "George, David (Tandem)" >To: >Cc: >X-OriginalArrivalTime: 26 Aug 2002 19:23:22.0158 (UTC) FILETIME=[0A9F4CE0:01C24D36] > >Hello, > The org\omg\CORBA\Object.java includes: > /** > *@deprecated Deprecated by CORBA 2.3 > */ > org.omg.CORBA.InterfaceDef _get_interface(); >Which causes the the application code: > public abstract class x extends >org.omg.CORBA.LocalObject implements xl {} > public interface xl extends >org.omg.CORBA.LocalInterface, org.omg.CORBA.portable.IDLEntity {} >to compile with a warning: > x.java:1: warning: _get_interface() in >org.omg.CORBA.Object has been deprecated >I'm wondering whether the javadoc statement should be removed or >whether >the method should be removed? >-dave. I would rather see the method removed, but this is a problem. The Sun Java ORB does not include this method, and likely never will, since inclucing this method brings in InterfaceDef and a host of other dependencies in the interface repository, most of which are not present in the JDK. I would not regard the IR as sufficiently stable for inclusion in the JDK in any version before CORBA 3.0. We do include the _get_interface_def method, which returns org.omg.CORBA.Object instead. The problem has been that other Java ORB vendors have wanted to keep this method in place. We should see what the current status is in discussing this issue. Ken.