The VM option EnableDynamicAgentLoading was added in JDK 9, default true, to allow deployment to choose whether to allow agents to be loaded/started in the VM. The VM option does the right thing for tools using the Attach API but jcmd JVMTI.agent_load was missed. This should be fixed to disallow loading JVMTI agents when the EnableDynamicAgentLoading is false.
- csr for
-
JDK-8309250 jcmd JVMTI.agent_load should obey EnableDynamicAgentLoading
-
- Closed
-
- relates to
-
JDK-8177154 Default configuration should disallow loading agents
-
- Resolved
-