Return-Path: Delivered-To: apmail-ws-axis-dev-archive@www.apache.org Received: (qmail 91078 invoked from network); 28 Jan 2005 10:17:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 28 Jan 2005 10:17:26 -0000 Received: (qmail 56040 invoked by uid 500); 28 Jan 2005 10:17:21 -0000 Delivered-To: apmail-ws-axis-dev-archive@ws.apache.org Received: (qmail 56020 invoked by uid 500); 28 Jan 2005 10:17:21 -0000 Mailing-List: contact axis-dev-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-dev@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-dev@ws.apache.org Received: (qmail 56003 invoked by uid 99); 28 Jan 2005 10:17:21 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 28 Jan 2005 02:17:19 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (8.12.11/8.12.11) with ESMTP id j0SAHHhR026503 for ; Fri, 28 Jan 2005 11:17:17 +0100 Message-ID: <1272320934.1106907437079.JavaMail.jira@ajax.apache.org> Date: Fri, 28 Jan 2005 11:17:17 +0100 (CET) From: "Venkat Reddy (JIRA)" To: axis-dev@ws.apache.org Subject: [jira] Resolved: (AXIS-1790) JavaStubWriter does not use FQN for java.lang.Object In-Reply-To: <547199651.1106904797370.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N [ 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