[
https://issues.apache.org/jira/browse/COMPRESS-659?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
David Handermann updated COMPRESS-659:
--------------------------------------
Description: 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. (was: 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.)
> 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)