RFR: 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:34 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.
Thank you Christian for the review.
-------------
PR Comment: https://git.openjdk.org/jtreg/pull/301#issuecomment-3644563582
More information about the jtreg-dev
mailing list