You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary D. Gregory (Jira)" <ji...@apache.org> on 2024/02/19 15:21:00 UTC

[jira] [Resolved] (COMPRESS-659) TarArchiveOutputStream should use Commons IO Charsets instead of Commons Codec Charsets

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

Gary D. Gregory resolved COMPRESS-659.
--------------------------------------
    Fix Version/s: 1.26.1
       Resolution: Fixed

> TarArchiveOutputStream should use Commons IO Charsets instead of Commons Codec Charsets
> ---------------------------------------------------------------------------------------
>
>                 Key: COMPRESS-659
>                 URL: https://issues.apache.org/jira/browse/COMPRESS-659
>             Project: Commons Compress
>          Issue Type: Bug
>          Components: Compressors
>    Affects Versions: 1.26.0
>            Reporter: David Handermann
>            Priority: Trivial
>             Fix For: 1.26.1
>
>
> Commons Compress 1.26.0 introduced changes to several stream classes to streamline character encoding handling. As a result of these changes the\{{TarArchiveOutputStream}} included a reference to the {{Charsets}} utility class from Commons Codec. With Commons Codec declared as an optional dependency limited to LZ4 and Snappy, this broke expected behavior with {{TarArchiveOutputStream}} for projects that did not have a direct dependency on Commons Codec. The Commons Codec {{Charsets}} utility should be replaced with the equivalent utility class from Commons IO to maintain expected the optional relationship with Commons Codec.



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