RFR: 7903738 : jtr.xml logs produced with -xml argument do not contain compilation failure justification - alternative approach

Christian Stein cstein at openjdk.org
Mon Oct 14 13:47:24 UTC 2024


On Thu, 3 Oct 2024 14:58:21 GMT, andrlos <duke at openjdk.org> wrote:

> this is an alternative to https://github.com/openjdk/jtreg/pull/229
> here we are collecting all the System.err outputs and putting them into a StringBuilder and returning them as one long string..
> Order of the sections should be intact, so it should go chronologically according to the test execution.
> This could be also improved by adding section separator Strings into the StringBuilder between individual sections.
> Also we could drop the if (titles[i].equals("main") || ... part and output any System.err output found in jtr.xml as part of the test failure

Thanks for proposing and closing it. (-:

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

PR Comment: https://git.openjdk.org/jtreg/pull/230#issuecomment-2411317240


More information about the jtreg-dev mailing list