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

Updated patch to use a "class space" abstraction, which makes the code much  
clearer
and should also be a little bit faster. Also included changes to switch  
back to JDK
reflection when we can't use the CGLIB Fast* approach, which removes some  
of the
visibility limitations regarding OSGi (only method-intercepted classes need  
to be
public/protected with this patch).

If we do find a private method-intercepted class when running in a strict  
container
like OSGi then we now report exactly which method was involved, to help the  
user.

The other changes are minor fixes to avoid unnecessary synthetic  
accessors...

[NOTE: issue 443 provides extra tests that check different visibilities in  
OSGi]

Attachments:
        GUICE_ISSUE_343_SRC_20091102.txt  13.0 KB

--
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