Integrated: CODETOOLS-7903143: jtreg includes `-javaoption` values in rerun section for @compile tasks in agentvm mode.
Jonathan Gibbons
jjg at openjdk.java.net
Thu Apr 7 00:41:58 UTC 2022
On Wed, 6 Apr 2022 20:59:57 GMT, Jonathan Gibbons <jjg at openjdk.org> wrote:
> Please review a trivial code fix and corresponding bug fix, to address the issue that jtreg incorrectly reports inapplicable options in the rerun info for a `@compile` section.
>
> Background, values for the `-javaoption` should only be applied when running tests (@run main, etc) and not when compiling tests (@compile, @build). That is true when the test is executed, but not true when generating the `rerun` script.
> For `othervm` it's not an issue, because the `rerun` script is more directly derived from the command that is executed, but for `agentvm` the rerun info is just a synthesized approximation.
This pull request has now been integrated.
Changeset: cdcd462f
Author: Jonathan Gibbons <jjg at openjdk.org>
URL: https://git.openjdk.java.net/jtreg/commit/cdcd462ffef177966823154474e46bae0b9d25e5
Stats: 8 lines in 8 files changed: 0 ins; 7 del; 1 mod
7903143: jtreg includes `-javaoption` values in rerun section for @compile tasks in agentvm mode.
Reviewed-by: iris
-------------
PR: https://git.openjdk.java.net/jtreg/pull/67
More information about the jtreg-dev
mailing list