Hi, On 07.04.11 09:53, "Nicolas" <[email protected]> wrote:
>Hi, > >If a pojo is created by some class enhancer, for example a method >interceptor enhanced object returned by guice, the call to >_setInstanceManager in InstanceManager fails. The reason is that the >enhanced class is a subclass of the original pojo and that class only has >the methods it chose to override. One solution to this is to travel up the >class hierarchy until the _setInstanceManager method is found >or Class.getSubclass() returns null (in which case we throw the usual >error. > >Should I create an issue for this? Also, could this be a problem for other >methods than _setInstanceManager? I have a patch done that works and does >the solution described above. Please do, I will have a look and apply it ! Thanks, Clement > >Best >Nicolas Ivering
