You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Make stream failures sticky in LZ4FrameInputStream and LZ4BlockInputS…
…tream (#145)
After an IOException from reading a block or frame header, both streams
could keep returning data they had already rejected, or throw unchecked
exceptions (NullPointerException, IndexOutOfBoundsException). Record the
first failure, wrapping RuntimeExceptions in an IOException, and make
later read(), skip() and the frame stream's expected content size
methods throw an IOException caused by it. available() returns 0 once
the stream has failed.
Fixes#101
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Remove duplicate testAvailableAfterEmptyBlock (#149)
#129 and c8ebf97 both added a testAvailableAfterEmptyBlock method to
LZ4BlockStreamingTest, so the test sources no longer compile. Keep the
one from #129; both check the same behaviour.
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Fix Linux native flags for non-x86 CI builds (#42)
* Make Linux native flags architecture-safe in CI
* Fix workflow matrix expressions for manual dispatch
* Merge x86 flags into arch-specific workflow cflags