You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@creadur.apache.org by "Philipp Ottlinger (Jira)" <ji...@apache.org> on 2023/11/03 08:29:00 UTC

[jira] [Updated] (RAT-328) Output process can attempt to close output multiple times.

     [ https://issues.apache.org/jira/browse/RAT-328?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Philipp Ottlinger updated RAT-328:
----------------------------------
    Fix Version/s: 0.16

> Output process can attempt to close output multiple times.
> ----------------------------------------------------------
>
>                 Key: RAT-328
>                 URL: https://issues.apache.org/jira/browse/RAT-328
>             Project: Apache Rat
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 0.16
>            Reporter: Claude Warren
>            Priority: Major
>             Fix For: 0.16
>
>
> When the reportConfiguration returns the IOSupplier the calling code is likely to close it.
> If the Supplier has not been set then the System.out is used.  This may result in System.out being closed.
> This fix should account for that and make it clear that the IOSupplier calling setOut should handle multiple opens and closes.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)