Thanks for following up on this. A simplified test case would he much appreciated.
sam On Aug 20, 2013 7:26 PM, <[email protected]> wrote: > I'm currently trying Guice 4.0-beta. > > I still have a problem with this issue ( > http://code.google.com/p/google-guice/issues/detail?id=743 ). > The problem is that, even with the new patch, listeners are still called > with the reference being cached. > > In com.google.inject.internal.ConstructorInjector#provision(...) : > > My object reference of type X is stored (line 115) and the listeners are > called (line 118) before the reference is removed (line 128). I have a > *InjectionListener > *that calls an *init()* method on the object. This init() method does a > lot of things, which ultimately create more instances of type X. Since the > first instance is still cached, all "created" references are this exact > same object! > > I'll try to write an simplified test case tonight or tomorrow. > > > > > ******** > > -- > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-guice. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "google-guice" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-guice. For more options, visit https://groups.google.com/groups/opt_out.
