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

Christian Stein cstein at openjdk.org
Thu Dec 11 07:21:02 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.

Marked as reviewed by cstein (Reviewer).

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

PR Review: https://git.openjdk.org/jtreg/pull/301#pullrequestreview-3566062012


More information about the jtreg-dev mailing list