Proposal for JPMS issue #ReflectiveAccessByInstrumentationAgents

Andrew Dinn adinn at
Mon Sep 12 09:03:32 UTC 2016

On 11/09/16 22:17, mark.reinhold at wrote:
> 2016/7/27 4:33:11 -0700, Andrew Dinn <adinn at>:
>> Regarding the proposed solution of adding method redefineModule to class
>> Instrumentation:
>>   I have a Proof Of Concept implementation which shows that that this
>> solution works for my agent and does not impose unworkable restrictions
>> on its operation or use.
>> ...
> Excellent -- thanks very much for the detailed evaluation!

No problem and thanks in return to all in the Jigsaw team who helped me
arrive at this resolution of the issue.

In the absence of follow-up by other agent implementors it's hard to be
sure this POC will work for their needs. However, it does seem to me to
be a generally applicable solution. Assuming no other agent implementor
does follow up to the contrary then I hope my solution serves to allow
the issue to be agreed as resolved.


Andrew Dinn
Senior Principal Software Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill, Eric Shander

More information about the jigsaw-dev mailing list