axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <>
Subject [jira] [Commented] (AXIS2-4448) DefaultObjectSupplier fails to instantiate static nested classes
Date Sun, 08 May 2011 01:12:03 GMT


Hudson commented on AXIS2-4448:

Integrated in axis2-1.5 #142 (See [])

> DefaultObjectSupplier fails to instantiate static nested classes
> ----------------------------------------------------------------
>                 Key: AXIS2-4448
>                 URL:
>             Project: Axis2
>          Issue Type: Bug
>          Components: kernel
>    Affects Versions: 1.5
>            Reporter: Detelin Yordanov
>            Assignee: Andreas Veithen
>             Fix For: 1.5.5, 1.6.0
>         Attachments: DefaultObjectSupplier.diff, StaticInnerClassService.aar, stacktrace.txt
> The current DefaultObjectSupplier implementation cannot instantiate static nested classes.
The problem is that it assumes that if the class to instantiate has a declaring class, it
is an inner class. However, according to the Java language specification, an inner class is
a nested class, which is not declared in a static context. Thus, in case the nested class
is declared static, it is not required to create the parent enclosing instance (and it is
not even possible, because the inner class does not have an implicit constructor with a parent
instance first parameter) 
> See

This message is automatically generated by JIRA.
For more information on JIRA, see:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message