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. I adjusted the exception message a bit to show what is wrong (-1 as an argument is not expected/supported). Removed one warning output because it seems we do not get there. Any reviews ? ------------- PR: https://git.openjdk.org/jdk/pull/11811