If we try to attach invalid JVMTI agent via JVMTI.agent_load dcmd, we will get "Command executed successfully". However, it implies error in JVMTIAgentLoadDCmd.
This message is from JCmd.java when jcmd does not receive output from target VM. So we should send error message from JVMTIAgentLoadDCmd.
This message is from JCmd.java when jcmd does not receive output from target VM. So we should send error message from JVMTIAgentLoadDCmd.
- relates to
-
JDK-8165736 Error message should be shown when JVMTI agent cannot be attached
-
- Resolved
-
-
JDK-8165869 [REDO] JDK-8164913: JVMTI.agent_load dcmd should show useful error message
-
- Closed
-