Hi,

we are using axis 1.5.3 and have the problem with nested classes.

According to the JIRA-4448 this is already fixed.

But the source code of the 

org.apache.axis2.engine.DefaultObjectSupplier.java

still contain


                Class parent = clazz.getDeclaringClass();
                Object instance = null;
 
                if (parent != null) {

                                // if this is an inner class then that
can be a non static inner class. 
                                // those classes have to be instantiated
in a different way than a normal initialization.
                                instance = clazz.getConstructor(new
Class[] { parent })

instead of 

                Class parent = clazz.getDeclaringClass();
                Object instance = null;
 
                if (parent != null &&
!Modifier.isStatic(clazz.getModifiers())) {

                                // if this is an inner class then that
can be a non static inner class. 
                                // those classes have to be instantiated
in a different way than a normal initialization.
                                instance = clazz.getConstructor(new
Class[] { parent })

One interessting point:

the SVN repository contains the correct version of the class, but
neither axis 1.5.3 nor 1.5.4 contain this version of the
DefaultObjectSupplier.

Is there any possibility to fix it?

Thanks,
Fadila

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to