axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Venkat Reddy (JIRA)" <axis-...@ws.apache.org>
Subject [jira] Resolved: (AXIS-1790) JavaStubWriter does not use FQN for java.lang.Object
Date Fri, 28 Jan 2005 10:17:17 GMT
     [ http://issues.apache.org/jira/browse/AXIS-1790?page=history ]
     
Venkat Reddy resolved AXIS-1790:
--------------------------------

    Resolution: Fixed

Applied patch.

> JavaStubWriter does not use FQN for java.lang.Object
> ----------------------------------------------------
>
>          Key: AXIS-1790
>          URL: http://issues.apache.org/jira/browse/AXIS-1790
>      Project: Axis
>         Type: Bug
>   Components: WSDL processing
>     Versions: 1.2RC2
>  Environment: Axis 1.2 RC2
>     Reporter: Venkat Reddy
>     Assignee: Venkat Reddy
>     Priority: Minor
>      Fix For: 1.2RC2

>
> The writeFileBody method uses just "Object" where it should have used "java.lang.Object".
The created compilation issues in the code generated by WSDL2Java. The code generated already
has "Object" class (because WSDL has it) in the same package as the stub class is.
> Fix: I'm going to commit the following patch in a minute.
> Index: JavaStubWriter.java
> ===================================================================
> RCS file: /home/cvs/ws-axis/java/src/org/apache/axis/wsdl/toJava/JavaStubWriter.java,v
> retrieving revision 1.140
> diff -u -r1.140 JavaStubWriter.java
> --- JavaStubWriter.java	20 Jan 2005 21:35:22 -0000	1.140
> +++ JavaStubWriter.java	28 Jan 2005 09:13:44 -0000
> @@ -353,7 +353,7 @@
>              pw.println(
>                      "                                (javax.xml.namespace.QName) cachedSerQNames.get(i);");
>              pw.println(
> -                    "                        Object x = cachedSerFactories.get(i);");
> +                    "                        java.lang.Object x = cachedSerFactories.get(i);");
>              pw.println(
>                      "                        if (x instanceof Class) {");
>              pw.println(

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message