RFR: 8305607: Remove some unused test parameters in com/sun/jdi tests

Chris Plummer cjplummer at openjdk.org
Wed Apr 5 19:54:12 UTC 2023


On Tue, 4 Apr 2023 20:15:41 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:

> Some tests set debugee name which is set by startUp() method.
> 
> The test/jdk/com/sun/jdi/RedefineNestmateAttr/TestNestmateAttr.java set classpath which is not required.

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.

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

PR Comment: https://git.openjdk.org/jdk/pull/13337#issuecomment-1498032324


More information about the serviceability-dev mailing list