Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade commons compress from 1.19 to 1.21 #3769

Merged
merged 6 commits into from
Mar 16, 2022

Conversation

pepness
Copy link
Member

@pepness pepness commented Mar 12, 2022

Library Notes:

  • SevenZFile now supports random access.
  • The zip package now supports split archives.
  • The tar package now supports reading sparse entries.
  • A new class TarFile provides random access to TAR archives.
  • Commons Compress now ships with a copy of the Pack200 code of the retired Apache Harmony project. The pack200 support in Commons Compress no longer uses the implementation of the Java class library - and thus also works for Java 14 and later.
  • Added new methods supporting java.nio.Path as an alternative to java.io.File to many classes.
  • Requires Java 8
  • 40 Bug fixes
  • 6 New Features
  • 46 Improvements
  • 1 CVE fixed (CVE-2021-36090)

NetBeans Notes:

  • Removed duplicated commons-compress jars from java/java.disco and ide/db.dataview
    • Download size at building:
    • Before: 632.4 + 632.4 + 615.1 = 1879.9 KB
    • After: 1000 KB
  • Change commons-compress test path in module ide/db.dataview
  • Add org.netbeans.modules.java.disco to commons_compress friend-packages and add required packages for java/java.disco to build successfully

Testing:

  • Full build done
  • Verify successful execution of libraries and licenses Ant test
  • Verify successful execution of unit tests for module ide/db.dataview
  • Checked the jar is in nb_install/ide/modules/ext/commons-compress-1.21
  • Successfully test Export Table Data option including all 3 formats (csv, tsv and xlsx)
  • Successfully download and unarchive multiple JDKs using Java Disco API

Commons compress Web Page
Commons compress Release Notes

@pepness pepness added the Upgrade Library Library (Dependency) Upgrade label Mar 12, 2022
@pepness pepness added this to the NB14 milestone Mar 12, 2022
@pepness pepness self-assigned this Mar 12, 2022
as a friend package in 'ide/libs.commons_compress'
@pepness pepness merged commit 913b464 into apache:master Mar 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Upgrade Library Library (Dependency) Upgrade
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants