• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 25578969634 / 7
80%
main: 93%

Build:
Build:
LAST BUILD BRANCH: delete-tools
DEFAULT BRANCH: main
Ran 08 May 2026 09:29PM UTC
Files 1196
Run time 35s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

08 May 2026 08:52PM UTC coverage: 45.532%. Remained the same
25578969634.7

push

github

web-flow
Fix jar-tool repacking for DEFLATED ZIP entries that use data descriptors (Cherry-pick of #23315) (#23336)

Fixes #23316 

## Summary

- fix jar-tool repacking for DEFLATED ZIP entries that use data
descriptors
- add a regression test covering the failing repack path

## Why

The old fast path copied raw compressed bytes by temporarily treating
DEFLATED entries as STORED and patching metadata afterward. That works
for ordinary entries, but it breaks when the source ZIP entry uses a
data descriptor, where size and CRC are finalized after the entry data
instead of being fully available in the local header.
In that case jar-tool could write inconsistent metadata and fail with
ZipException while building deploy jars. This change keeps the fast path
for normal DEFLATED entries, but falls back to safe copy/recompression
for data-descriptor entries.

Co-authored-by: Gregory Borodin <grihabor@gmail.com>

27462 of 60314 relevant lines covered (45.53%)

0.46 hits per line

Source Files on job test_python_linux_x86_64_0/10 - 25578969634.7
  • Tree
  • List 1196
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 25578969634
  • 2ef9fd2d on github
  • Prev Job for on 2.30.x (#24476123602.5)
  • Next Job for on 2.30.x (#25591502743.5)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc