On 15/01/2025 09:37, Code Ranger wrote:
Andrew, thank you for you this example. From https://github.com/
bytemanproject/byteman (if this is the project you are talking about):
Byteman supports injection of side effects into Java programs for the
purpose of *tracing *and *testing* application behaviour.
It is mostly used at test time. However, it is quite often used for live
monitoring of production deployments and, in rare cases, it is resorted
to for debugging performance or functional issues when they arise in
such deployments.
No, I am sure, using agents to add open/export to a module from the boot
layer can hardly be called an optimal and elegant solution.
Well, we all have our own standards of elegance and also of what risks
we are willing to take . . .
Therefore, I decided to abandon their use. The topic is closed. --add-*
forever.
Like I said . . . ;-)
regards,
Andrew Dinn
-----------
Red Hat Distinguished Engineer
Red Hat UK Ltd
Registered in England and Wales under Company Registration No. 03798903
Directors: Michael Cunningham, Michael ("Mike") O'Neill