> 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.
Matthias Baesken has updated the pull request incrementally with one additional commit since the last revision: Improve exception message for SAGetoptException ------------- Changes: - all: https://git.openjdk.org/jdk/pull/11811/files - new: https://git.openjdk.org/jdk/pull/11811/files/0844170b..9c5d46d8 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=11811&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11811&range=00-01 Stats: 4 lines in 2 files changed: 0 ins; 3 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/11811.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11811/head:pull/11811 PR: https://git.openjdk.org/jdk/pull/11811