On 16/10/2017 16:59, Robbin Ehn wrote:
I see, in my case it's several CFLH agents with retransformation
capability. The one that added the public method is removed and no
longer called.
Leaving the other agents without the ability to retransform anymore
since they get the class file bytes without the public method.
That case is tricky. Minimally we should put something in the spec and
javadoc to discourage disabling the event or removing the transformer
when the agent is retransformation capable and it has performed schema
changes or added/removed methods at initial load. There are several
technical solutions possible of course but hard to know whether it's
worth introducing more complexity for such rare cases.
-Alan