[ https://issues.apache.org/jira/browse/COMPRESS-621?focusedWorklogId=831777&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-831777 ]
ASF GitHub Bot logged work on COMPRESS-621: ------------------------------------------- Author: ASF GitHub Bot Created on: 07/Dec/22 14:06 Start Date: 07/Dec/22 14:06 Worklog Time Spent: 10m Work Description: codecov-commenter commented on PR #334: URL: https://github.com/apache/commons-compress/pull/334#issuecomment-1341017922 # [Codecov](https://codecov.io/gh/apache/commons-compress/pull/334?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report > Merging [#334](https://codecov.io/gh/apache/commons-compress/pull/334?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (b1c3d8d) into [master](https://codecov.io/gh/apache/commons-compress/commit/821c2462d875b84f699f01b2d14250f5e1fc6a23?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (821c246) will **increase** coverage by `0.00%`. > The diff coverage is `84.61%`. ```diff @@ Coverage Diff @@ ## master #334 +/- ## ========================================= Coverage 80.10% 80.11% - Complexity 6608 6610 +2 ========================================= Files 340 340 Lines 25186 25195 +9 Branches 4145 4146 +1 ========================================= + Hits 20176 20184 +8 Misses 3412 3412 - Partials 1598 1599 +1 ``` | [Impacted Files](https://codecov.io/gh/apache/commons-compress/pull/334?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | | |---|---|---| | [...apache/commons/compress/archivers/zip/ZipFile.java](https://codecov.io/gh/apache/commons-compress/pull/334/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c3JjL21haW4vamF2YS9vcmcvYXBhY2hlL2NvbW1vbnMvY29tcHJlc3MvYXJjaGl2ZXJzL3ppcC9aaXBGaWxlLmphdmE=) | `78.49% <84.61%> (+0.20%)` | :arrow_up: | :mega: We’re building smart automated test selection to slash your CI/CD build times. [Learn more](https://about.codecov.io/iterative-testing/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Issue Time Tracking ------------------- Worklog Id: (was: 831777) Time Spent: 20m (was: 10m) > ZipFile does not support prepending additional data to the zip content > ---------------------------------------------------------------------- > > Key: COMPRESS-621 > URL: https://issues.apache.org/jira/browse/COMPRESS-621 > Project: Commons Compress > Issue Type: Bug > Components: Archivers > Affects Versions: 1.21 > Reporter: Glavo > Priority: Major > Time Spent: 20m > Remaining Estimate: 0h > > In general, Zip files support placing arbitrary content before their body > without affecting their compliance. > Here is an example: > [https://github.com/huanghongxun/HMCL/releases/download/v3.5.2.218/HMCL-3.5.2.218.exe] > > This is actually a jar file, but we prepend an exe launcher to it, so it can > be used both as a jar and as an exe. > java.util.zip.ZipFile can open and read it normally, but > org.apache.commons.compress.archivers.zip.ZipFile can open it but cannot read > any entries. > -- This message was sent by Atlassian Jira (v8.20.10#820010)