In Java SE 6 there are two changes in jar command behavior:
Before Java SE 6, the timestamps (date
and time) of extracted files by jar command are those listed the current
time means extraction time instead of archive file time. But other
de/compression tools use the archive time. So in Java SE 6, they do a change
in jar command behavior that is the date and time of extracted files by jar
command were the archive time. But if the old behavior is needed, use sun.tools.jar.useExtractionTime=true
There are some changes in ZIP File also:
API Changes - There are two new compressed streams have been added :
java.util.zip.InflaterOutputStream - This stream is used to write the decompressed data. For example, At the receiving end decompresses the compressed packet by writing to an InflaterOutputStream.
|
Recommend the tutorial |
Ask Questions? Discuss: Changes in Jar and Zip
Post your Comment