Integrated: 7904121: jasm usage in jtreg test leads to log messages on stdout of jtreg process

Jaikiran Pai jpai at openjdk.org
Fri Dec 12 02:00:35 UTC 2025


On Thu, 11 Dec 2025 06:35:34 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which proposes to address the issue noted in https://bugs.openjdk.org/browse/CODETOOLS-7904121.
> 
> The change here replaces the usage of the deprecated constructors in `org.openjdk.asmtools.jasm.Main` and `org.openjdk.asmtools.jcoder.Main` to their newer counterparts. This allows jtreg the control over where the stdout and stderr  generated by those tools gets written to. 
> 
> A new self test has been introduced to verify that the compilation of a jasm file in a jtreg test, generates the expected stdout/stderr sections in the test's report file.

This pull request has now been integrated.

Changeset: 2cffb4d7
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jtreg/commit/2cffb4d784a25f016b947a8fbe2b2b62b18e13cd
Stats:     145 lines in 5 files changed: 133 ins; 2 del; 10 mod

7904121: jasm usage in jtreg test leads to log messages on stdout of jtreg process

Reviewed-by: cstein

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

PR: https://git.openjdk.org/jtreg/pull/301


More information about the jtreg-dev mailing list