RFR: 8337221: CompileFramework: test library to conveniently compile java and jasm sources for fuzzing
Emanuel Peter
epeter at openjdk.org
Thu Sep 12 15:57:28 UTC 2024
On Tue, 30 Jul 2024 07:23:16 GMT, Emanuel Peter <epeter at openjdk.org> wrote:
>>> See output.equals("").
>> Well, that doesn't require redirection. You check the process' output, not the host (JTReg) output.
>>
>>> But here I think I want everything to go to the stdout.
>> Well, here I'd like to call the same argument of volume. If we generate 100s of files, using not the perfect generators (that generate warnings, can create semi-obsolete code, etc.)... we'd not want to stare at their outputs manually.
>
> I'm not sure I understand what you are saying.
>
> `redirectErrorStream`: Tells whether this process builder merges standard error and standard output.
>
> So all I'm doing is merging the stdout and stderr from the process. Now everything from the process goes to the stdout of the process, right? Then I can check `output.equals("")` and that captures that there is neither any thing on the stdout nor on the stderr of the process.
>
> Nothing is actually being printed in the JTREG stdout. Correct?
BTW: you put not just my text as quotation but also your reply ;)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20184#discussion_r1696452493
More information about the hotspot-compiler-dev
mailing list