ClassFileTransformer does not apply to anonymous classes
adinn at redhat.com
Tue Jan 26 08:58:01 UTC 2016
On 26/01/16 08:39, Rafael Winterhalter wrote:
> Another note on this subject: I found that applying a
> reretransformation on a lambda expression's class does not provide the
> original class file to the retransformer but the class file that
> resulted from a previous retransformation. (If a lambda class is
> retransformed several times.) This is different to "normal" classes
> where the original class file is provided.
I think it is also /clearly wrong/ since it makes it at very least
difficult and perhaps, depending on circumstances, impossible for a
transformer to restore the original bytecode.
More information about the core-libs-dev