Jars include the mod-date of the file in the zip-entry. Two jars built
from identical source, each made from a clean build, will reflect two
different sets of mod-dates (the time of compilation). Or the
compression
could be done in a different way each time, or the jar could have been
constructed differently (there are various equivalent internal
structures).
Thus, two jar-files can be different, yet the contents can be
identical.
Try it.
That's the reason I asked, I have tried it, and it seems to work for
me. We use hashes computed on jar files to update our client app to the
latest version of our jars available on the server. I'll take a closer
look.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden