Return-Path: Delivered-To: apmail-xml-axis-dev-archive@xml.apache.org Received: (qmail 64234 invoked by uid 500); 1 Aug 2001 17:58:27 -0000 Mailing-List: contact axis-dev-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@xml.apache.org Received: (qmail 64210 invoked from network); 1 Aug 2001 17:58:26 -0000 Received: from e22.nc.us.ibm.com (32.97.136.228) by h31.sny.collab.net with SMTP; 1 Aug 2001 17:58:26 -0000 Received: from southrelay02.raleigh.ibm.com (southrelay02.raleigh.ibm.com [9.37.3.209]) by e22.nc.us.ibm.com (8.9.3/8.9.3) with ESMTP id MAA22416 for ; Wed, 1 Aug 2001 12:56:25 -0500 Received: from d04nm301.raleigh.ibm.com (d04nm301.raleigh.ibm.com [9.67.228.166]) by southrelay02.raleigh.ibm.com (8.11.1m3/NCO v4.97) with ESMTP id f71HvAI60148 for ; Wed, 1 Aug 2001 13:57:11 -0400 Importance: Normal Subject: RE: cvs commit: xml-axis/java/samples/echo TestClient.java To: axis-dev@xml.apache.org X-Mailer: Lotus Notes Release 5.07a May 14, 2001 Message-ID: From: "Sam Ruby" Date: Wed, 1 Aug 2001 13:37:59 -0400 X-MIMETrack: Serialize by Router on D04NM301/04/M/IBM(Release 5.0.6 |December 14, 2000) at 08/01/2001 01:57:10 PM MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N Glen Daniels wrote: > >> - if (equals(sent, gotBack)) { >> + if (this.equals(sent, gotBack)) { > > This one seems really weird... Wierd, but apparently a limitation JDK 1.2.2: samples: [javac] Compiling 1 source file to D:\jakarta\xml-axis\java\build\classes [javac] D:\jakarta\xml-axis\java\samples\echo\TestClient.java:238: Method 'equals' is inherited in local class samples.echo.TestClient. 1, and hides a method of the same name in class samples.echo.TestClient. An explicit 'this' qualifier must be used to select the desired instance. [javac] if (equals(sent, gotBack)) { [javac] ^ [javac] 1 error - Sam Ruby