[
https://issues.apache.org/jira/browse/RAT-328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17782459#comment-17782459
]
ASF subversion and git services commented on RAT-328:
-----------------------------------------------------
Commit fe3c1f7404150895bdb9de4296f5e65b26736726 in creadur-rat's branch
refs/heads/master from Philipp Ottlinger
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=fe3c1f74 ]
RAT-328: Ensure that System.out does not get closed during report generation
and updated javadocs.
> 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
>
> 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)