David Handermann created COMPRESS-659:
-----------------------------------------
Summary: TarArchiveOutputStream uses 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
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)