Comment #14 on issue 343 by rwallace1979: BytecodeGen uses system  
classloader when applying AOP to system types
http://code.google.com/p/google-guice/issues/detail?id=343

Felix,

That looks like a problem I've run into when one of the classes you are  
trying to
have Guice create and inject is package-protected.  In an OSGi environment,  
all the
classes Guice is going to be creating and wiring up need to be public  
(including
Providers), otherwise they can't be seen from any classloader but the one  
they're
loaded from.

See http://code.google.com/docreader/#p=google-guice&s=google-guice&t=OSGi  
for more
info, particularly the "What are the constraints of using Guice's OSGi  
support?" section.

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"google-guice-dev" 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-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to