I doubt this can be done.Try the mailing list (and its archives) of aspectj
instead[1]. If they say it is possible, the aspectj-m-p can do it too.If they
say it can't be done, well, neither can the plugin. -Robert
[1] http://www.eclipse.org/aspectj/userlists.php
----------------------------------------
> Date: Sun, 2 Oct 2011 00:26:49 -0700
> From: [email protected]
> To: [email protected]
> Subject: [mojo-user] aspectj-maven-compiler plugin : how to weave JRE
> System.* ?
>
> I'm trying to detect where a mysterious System.gc() comes from,
> so I'm hoping to create a pointcut on all calls to System.gc()
>
> the doc describes how to weave existing jars and existing dirs, but
> how do I weave the JDK itself ?
>
> Thanks a lot
> [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
> http://xircles.codehaus.org/manage_email
>
>