axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Veithen (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-4443) Schema generation for inner classes is not backward compatible
Date Thu, 30 Jul 2009 21:26:14 GMT

     [ https://issues.apache.org/jira/browse/AXIS2-4443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Andreas Veithen resolved AXIS2-4443.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.6

Detelin,

I changed the test case (so that it is independent of the way inner classes are represented)
and committed your patch. Thanks for contributing!

> Schema generation for inner classes is not backward compatible
> --------------------------------------------------------------
>
>                 Key: AXIS2-4443
>                 URL: https://issues.apache.org/jira/browse/AXIS2-4443
>             Project: Axis 2.0 (Axis2)
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5
>            Reporter: Detelin Yordanov
>            Assignee: Andreas Veithen
>             Fix For: 1.6
>
>         Attachments: DefaultSchemaGenerator.diff, InnerClassTestService.aar, InnerClassTestService.wsdl
>
>
> In Axis2 1.5  schema types generated for inner classes have just the name of the class,
while in Axis2 1.4.1 the name of the type incorporated the name of the parent class, e.g.
> class Parent {
>     class Inner {
>     }
> }
> Axis2 1.4.1 created a complex type named "Parent_Inner" for the Inner class (it was replacing
the dollar character in "Parent$Inner" with an underscore), while Axis2 1.5 creates just "Inner"
type.
> The reason must be in using Class#getSimpleName(), this method does not return the parent
class prefix as the annogen's JClass#getSimpleName() did in Axis2 1.4.1.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message