JarDiff errors
Hi,
I was testing the Version-based downloading using the JnlpDownloadServlet. Downloading initial version worked fine. I then wanted to test the jardiff functionality, so I tried copying one jar file, x__V1.0.jar to x__V1.1.jar. The files are identical in size. When the servlet tries to generate a JarDiff, it actually thinks it finds some differences. This by itself wasn't a huge deal, except that the web start client barfs because it tries to apply a jar diff that contains some identical files to what it already has...
This lead me to run a JarDiff manually on these two files. I also turned on debug messages, -debug. The debug messages clearly show errors coming from the comparison of the two Jar files. It looks like the errors are from the JarFile.getEntryEqualTo(origJarFile, fileName) method. It is actually returning the wrong file. It only does this a few times out of a few thousand though. Thus finding about 15 incorrect files out of 2000.
Has anybody else seen anything like this ? Or have any suggestions for things to try ?
Thanks.

