On Wed, 17 Jul 2024 14:21:05 GMT, Thomas Stuefe <stu...@openjdk.org> wrote:

> * In all cases: please, in case of an error, don't THROW, don't do `warning`. 
> Instead, just print to the `output()` of the DCmd. You want an error to 
> appear to the user of the dcmd - so, to stdout or stderr of the jcmd process 
> issuing the command. Not an exception in the target JVM process, nor a 
> warning in the target JVM stderr stream

FYI, I filed [JDK-8337047](https://bugs.openjdk.org/browse/JDK-8337047) to 
track this.

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

PR Comment: https://git.openjdk.org/jdk/pull/20198#issuecomment-2245923827

Reply via email to