On Mon, 2 Jan 2023 14:31:14 GMT, Matthias Baesken <mbaes...@openjdk.org> wrote:

> The test serviceability/sa/sadebugd/SADebugDTest.java can pass under some 
> circumstances a negative rmiport (--rmiport -1) to SALauncher.java.
> This leads to a somewhat misleading message 
> `[debugd] Argument is expected for 'rmiport' `
> (we set an argument [-1] but probably this is not what is really expected) 
> and additionally the real exception is not shown.
> Probably also a warning in case of negative rmiport values should be printed 
> because they seem to lead to errors.

This pull request has now been integrated.

Changeset: 2ccdefc8
Author:    Matthias Baesken <mbaes...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/2ccdefc81c0ea2ea5c4380bb045aa82ad1eb8205
Stats:     13 lines in 3 files changed: 8 ins; 0 del; 5 mod

8299470: sun/jvm/hotspot/SALauncher.java handling of negative rmiport args

Reviewed-by: clanger, sspitsyn, kevinw

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

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

Reply via email to