RFR: 8304834: Fix wrapper insertion in TestScaffold.parseArgs(String args[]) [v2]

Leonid Mesnik lmesnik at openjdk.org
Tue Mar 28 04:47:36 UTC 2023


On Tue, 28 Mar 2023 04:27:40 GMT, David Holmes <dholmes at openjdk.org> wrote:

>> the @run line contains only the test name and additional command-line options if needed, the target app class 'Frames2Targ' is not included. I have copy-pasted this example from 
>> https://github.com/openjdk/jdk/blob/0deb648985b018653ccdaf193dc13b3cf21c088a/test/jdk/com/sun/jdi/Frames2Test.java#L34
>
> That is very confusing because the `Frames2Targ` seems to appear out of nowhere.

Well, I could update the comment, but it is basically how the all jdi tests work. The test adds target by itself after all command line arguments.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13170#discussion_r1150020120


More information about the serviceability-dev mailing list