RFR: 8287812: Cleanup JDWP agent GetEnv initialization

Chris Plummer cjplummer at openjdk.org
Fri Dec 9 01:57:57 UTC 2022


On Fri, 9 Dec 2022 01:43:46 GMT, David Holmes <dholmes at openjdk.org> wrote:

> I don't know what the deployment model for the debug agent is, but you have now made it so that it can't work with older versions. Does this affect the ability to run an earlier version of the debugger VM compared to the debugee VM?

I don't believe so. The debugger can query the debug agent's capabilities (and most do so to support older versions). The debug agent imposes no type of versioning or capabilities on the debugger:

https://docs.oracle.com/en/java/javase/17/docs/specs/jdwp/jdwp-protocol.html#JDWP_VirtualMachine_CapabilitiesNew

-------------

PR: https://git.openjdk.org/jdk/pull/11602


More information about the serviceability-dev mailing list