ClassFileTransformer does not apply to anonymous classes
Alan Bateman
Alan.Bateman at oracle.com
Fri Jan 22 14:29:46 UTC 2016
On 22/01/2016 14:00, Coleen Phillimore wrote:
> Can you send the question again? I didn't see it. I also mostly look
> at JVM code and rarely deal with the Java side.
>
The question was asked about ClassFileTransformer which is implemented
by the JPLIS agent via the JVM TI CFLH event. So I think the question is
really on whether this event can be posted for classes defined via
defineAnonymousClass. None of the standard APIs know about HotSpot
specific concepts like "host class" but maybe the host class defining
loader and PD can be used with this event. I don't know if this has been
explored elsewhere already.
-Alan.
More information about the core-libs-dev
mailing list