axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David L. Cole" <>
Subject org.apache.axis.wsdl.fromJava.DefaultBuilderPortTypeClassRep bug
Date Wed, 03 Apr 2002 17:18:47 GMT
Hi all,

In the class:

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:


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

David Cole

View raw message