The fix for AXIS2-4448 is scheduled to be shipped with Axis2 1.5.5 and 1.6.0.
Andreas On Wed, May 4, 2011 at 09:03, <[email protected]> wrote: > 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: [email protected] > For additional commands, e-mail: [email protected] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
