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

andrlos duke at openjdk.org
Mon Oct 14 13:37:36 UTC 2024


On Thu, 10 Oct 2024 06:48:34 GMT, Christian Stein <cstein 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
>
> Let's keep the filtering intact for the time being and get
> 
> - #229
> 
> integrated.

@sormuras okay, this was just an alternative idea.. closing this thread now :-)

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

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


More information about the jtreg-dev mailing list