2009/11/12 xmariachi <[email protected]> > Hi, > I'm having the same issue and it got passed the injection problem with > this custom loader. > I'd still like to know if this is really something to be on 2.1 and/or > this fix comes to patch some bad practice from our side, as oakridge > suggests. >
I honestly doubt it's bad practice in your code - the problem described in http://code.google.com/p/google-guice/issues/detail?id=343 is a definite defect in guice 2.0 which will be fixed in 2.1 my latest patch for issue 343 fixes various other cglib related exceptions by falling back to stock JDK reflection (if absolutely necessary) - with this the only time you'll be affected by the "package-private" visibility problem is when you explicitly use method interception (ie. bindInterceptor) ( this is not the same as the earlier patch in the "customloader" binary ) I also created an OSGi test suite that tries various bindings with all sorts of different visibilities to make sure that we don't regress this in the future: http://code.google.com/p/google-guice/issues/detail?id=443 HTH I'll be also happy to know about more info on this, thanks. > Cheers > > > On Oct 15, 6:26 pm, oakridge <[email protected]> wrote: > > Thanks Stuart. I have tried to track down the source binding causing > > the problem. Unfortunately, I thinkerrorsare being swallowed > > somewhere. I see noGuicelog statements in my console when running > > in IntelliJ. We use log4j. I have to figure out how to get logging > > output to work so I can track down the issue. I'll report back if I > > can resolve the problem. > > > > Thanks. > > -- > > You received this message because you are subscribed to the Google Groups > "google-guice" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-guice%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-guice?hl=. > > > -- Cheers, Stuart -- You received this message because you are subscribed to the Google Groups "google-guice" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-guice?hl=.
