RFR: 8303697: ProcessTools doesn't print last line of process output
Leonid Mesnik
lmesnik at openjdk.org
Wed Mar 15 05:50:18 UTC 2023
On Wed, 15 Mar 2023 05:41:33 GMT, Leonid Mesnik <lmesnik at openjdk.org> wrote:
> The StreamPumper is fixed to process the last line even it is not finishes with '\n' or '\r'. The test included. Testing with tier1-3 also to verify that tests are not broken.
The ByteArrayOutputStream is moved into try block just to close it as any other stream. Doesn't affect execution.
-------------
PR: https://git.openjdk.org/jdk/pull/13034
More information about the core-libs-dev
mailing list