Hi Nacho,

Did you try through the class loader ? The page
http://code.google.com/appengine/docs/java/runtime.html

says:

Custom Class Loading
Custom class loading is fully supported under App Engine. Please be
aware, though, that App Engine overrides all ClassLoaders to assign
the same permissions to all classes loaded by your application. If you
perform custom class loading, be cautious when loading untrusted third-
party code.

didier

On May 21, 8:48 am, Nacho Coloma <[email protected]> wrote:
> Hi, I know this is probably bad timing as most Googlers will probably
> be at I/O, but anyway:
>
> Do I have any way to instrument a class (AKA: modify its bytecode on
> class loading) inside GAE? I suppose not, and that's why datanucleus
> is using compile time, but I'm asking just to be sure.
>
> This far I have been able to use ASM to create a second class that
> extends the original and load using a child ClassLoader, but that's a
> half-assed solution. Is there no way to instrument the original class?
>
> -- Nacho
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine for Java" 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 
> athttp://groups.google.com/group/google-appengine-java?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-appengine-java?hl=en.

Reply via email to