Fixed.
Thanks David.

--
Tom Jordahl
Macromedia


-----Original Message-----
From: David L. Cole [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, April 03, 2002 12:19 PM
To: [EMAIL PROTECTED]
Subject: org.apache.axis.wsdl.fromJava.DefaultBuilderPortTypeClassRep
bug


Hi all,

In the class:
 org.apache.axis.wsdl.fromJava.DefaultBuilderPortTypeClassRep

Line 142 of the getResolvedMethods() is attempting to compare to Strings
for equality
using the == operator:

                if (m1.getName() == m2.getName()) {

I think the intention was to perform the operation as follows:

     if(m1.getName().equals(m2.getName()){

Turned out to be an interesting bug...if using jdk1.3 the == will return
false,
but if using jdk1.4 it will always return true!
Is this a bug in jdk1.4...or a new feature?lol

Thanks,
David Cole

Reply via email to