Skip to content

7z 23.01#83

Open
borisbrodski wants to merge 12 commits into
masterfrom
7z-23.01
Open

7z 23.01#83
borisbrodski wants to merge 12 commits into
masterfrom
7z-23.01

Conversation

@borisbrodski
Copy link
Copy Markdown
Owner

  • Bind 7z 23.01
  • Minimal Java 5 -> 8

…for missing fields

- Added support for kpidComment, kpidEncrypted, kpidCRC
- Added kpidName handling (extract filename from path)
- Return VT_EMPTY instead of VT_NULL when Java field is null
- Return VT_EMPTY for unknown/unsupported propIDs instead of error
- propertyComment
- propertyEncrypted
- popertyCRC
- Add ReportExtractResultIndexType enum to represent NEventIndexType from 7-zip
- Add reportExtractResult() method to IArchiveExtractCallback interface with default implementation
- Update JNI bindings in JavaPackageSevenZip.h for new enum and method
- Implement native callback in CPPToJavaArchiveExtractCallback.cpp
- Add test tracking and assertions in ExtractFileAbstractTest and ExtractSingleFileAbstractTest

This exposes the IArchiveExtractCallbackMessage2::ReportExtractResult callback
introduced in 7-zip v23+, allowing immediate error reporting during extraction.
- Test compilation of lambda expressions (stream.forEach) to verify
  JDK 8 or higher is available
- Clear error message if older JDK is used
Copilot AI added a commit to xexes/sevenzipjbinding that referenced this pull request May 31, 2026
…portExtractResult callback, kpidComment/Encrypted/CRC support

- Fix UniversalArchiveOpenCallback to return VT_EMPTY instead of E_NOINTERFACE
  when IArchiveOpenVolumeCallback is not implemented (allows 7-zip codec auto-detection)
- Add IArchiveExtractCallbackMessage2 support for ReportExtractResult callback
  (7-zip v23+ error reporting during extraction)
- Add kpidComment, kpidEncrypted, kpidCRC property support in update callback
- Add ReportExtractResultIndexType enum
- Add propertyComment/propertyEncrypted/propertyCRC to IOutItem7z and OutItem
xexes added a commit to xexes/sevenzipjbinding that referenced this pull request May 31, 2026
…c433f7e3253b

Port 7-zip v23+ compatibility fixes from upstream PR borisbrodski#83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant