Rate This Document
Findability
Accuracy
Completeness
Readability

"gzip header append_info_sz is 0" Displayed When KAEzip Is Used for Decompression in BiSheng JDK

Symptom

Scenario: The KAEzip feature is used to decompress the file generated after a zero-byte array is compressed in BiSheng JDK.

Prerequisites: BiSheng JDK 8u422 or later and KAE earlier than 2.0.3 have been deployed in the environment.

Procedure: Compress a zero-byte array following instructions in KAEzip User Guide, and run the java -DGZIP_USE_KAE=true Test_file command to decompress the compressed file. The message "gzip header append_info_sz is 0" is displayed, as shown in the following figure.

Key Process and Cause Analysis

The format of the compressed file is different from that of the source file. As a result, the compressed file cannot be correctly decompressed.

Conclusion and Solution

This issue has been resolved in the latest KAE version. Obtain the latest version from the following link, install it, and execute the test case again.

https://gitee.com/kunpengcompute/KAE/tree/kae2/