I would like to distribute my 20-jar application as pack200 files, but I also need to provide file checksums for the sake of validation.
Because I am paranoid (thank you, JWS), I would like to also have checksums on decompressed files.
Is decompression of pack200 deterministic and giving identical results on all platforms (Win/Mac/Linux cross 32/64 bit)?
In other words, can I decompress the files on one computer, compute their checksums, and expect them to always be identical if decompressed at other computers?
EDIT: Thanks for the comments. I am looking for some hard specification to confirm or deny this.
Making assumptions (even based on testing on a few machines) means risk.
Implementations may vary across platforms and Java versions. Even the same implementation can give different results (thinking of order of items in ZIP directory?). That's why I ask whether it's the same for all platforms and Java versions AND deterministic.
If this cannot be confirmed or denied, how about this follow-up question. How can I verify that after decompression a jar is valid? Thinking of half-finished files, gamma rays corrupting single bits in the file and whatnot.