ADS 8.5.0 dev5.6
1. First created a bzip2 file using extension .tbz2 --> file is attached
Tried to unzip a file created with bzip2 with extension .tbz2
2. The operation fails correctly but a java.io.IOException: Negative seek offset occurs
var test_data_dir = "c:\\azip\\source\\";
test_unzip();
// --- unzip() ---
function test_unzip() {
var src_base = test_data_dir ;
var dest_base = test_data_dir + "unzip";
exec_unzip(src_base + "1.rtf.tbz2", dest_base);
}
function exec_unzip(zFile, destDir) {
try {
aqua.println("UNZIP: from [" + zFile + "] to [" + destDir + "]...");
aqua.archive.unzip(zFile, destDir);
aqua.println("UNZIP: done.");
} catch(ex) {
aqua.println("UNZIP: failed - " + ex.toString());
}
}
![]() |
10 KB
you cannot use unzip on a file that has been bzip'd.
you cannot use unzip on a file that has been bzip'd.
Issue #3343 |
Closed |
Fixed |
Resolved |
Completion |
No due date |
No fixed build |
No time estimate |