DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10290>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10290

Use of common Java classes like String and Object is not fully scoped in some stubs 
(for example enums).

           Summary: Use of common Java classes like String and Object is not
                    fully scoped in some stubs (for example enums).
           Product: Axis
           Version: current (nightly)
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: WSDL processing
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


Use of common Java classes like String and Object is not fully scoped in some 
stubs (for example enumerations).  This can cause problems if the WSDL contains 
types with those same names (Object or String), and classes are generated for 
them.  In that case the stub for the enumeration (for example) will end up 
using the wrong “Object” or “String”.

Bits of offending stub code from a generated enum stub:


    public boolean equals(Object obj) {return (obj == this);}

should be:

    public boolean equals(java.lang.Object obj) {return (obj == this);}

and:

    public static EnumType fromString(String value)

should be:

    public static EnumType fromString(java.lang.String value)

Reply via email to