RFR: 8200559: Java agents doing instrumentation need a means to define auxiliary classes [v2]
Alan Bateman
alanb at openjdk.org
Mon Jan 29 14:15:42 UTC 2024
On Mon, 29 Jan 2024 14:09:40 GMT, Andrew Dinn <adinn at openjdk.org> wrote:
> What stops people from supplying a fake instance? Wouldn't you need to "test run" the instance first?
In passing, Instrumentation was a candidate to be sealed at one point as the only implementations should be in the java.instrument module. I haven't seen any delegating or other implementations but they might exist so we would need to be careful with compatibility.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/3546#issuecomment-1914776078
More information about the serviceability-dev
mailing list