RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests
Leonid Mesnik
lmesnik at openjdk.org
Wed Apr 5 21:33:14 UTC 2023
On Wed, 5 Apr 2023 19:51:00 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:
> Do I understand correctly that this bug just caused the debuggee to appear twice in the arguments, leading to output like the following:
>
> [2ms] run args: [RefTypes, RefTypes]
>
> In this case it was harmless because the 2nd "RefTypes" gets passed as an arg to the RefTypes debuggee, which just ignored it.
Exactly, the unused parameters are just ignored silently. They just confuse people trying to understand why they are required. Also, I am trying to improve parsing arguments in TestScaffold and harden parameters verification. So I want to make this clean up first.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13337#issuecomment-1498186200
More information about the serviceability-dev
mailing list