The GitHub Actions job "Java CI" on 
commons-compress.git/feat/common-archive-builder has failed.
Run started by GitHub user ppkarwasz (triggered by ppkarwasz).

Head commit for run:
82396f2fb609ca8d1c5b0878f9c69b8e6e84ae72 / Piotr P. Karwasz 
<[email protected]>
Introduce `AbstractArchiveBuilder` for unified archiver support

This PR introduces a new `AbstractArchiveBuilder`, which serves as a shared 
foundation for all archive input streams, including `SevenZFile`, `TarFile`, 
and `ZipFile`.

This refactoring also leverages the new `ChannelOrigin` from Commons IO 2.21.0, 
streamlining the builder implementations for `SevenZFile`, `TarFile`, and 
`ZipFile`.

### Additional improvements

* **Constructor unification:** All constructors now delegate to a single 
constructor that accepts a builder.
* **Resource safety:** If an error occurs during construction (or within the 
builder’s `get()` method), the underlying resource is now always closed. 
Previously, resources provided via `SeekableByteChannel` were not closed on 
error, potentially leaving channels in an incoherent state.
* **Deprecation cleanup:** All references to deprecated constructors and 
methods have been removed. Compatibility is verified through 
`LegacyConstructorsTest`, which ensures the builder pattern behaves 
equivalently to the removed constructors.

Report URL: https://github.com/apache/commons-compress/actions/runs/18216828200

With regards,
GitHub Actions via GitBox

Reply via email to