I don\'t whether I am asking correct question or not but want to clear my doubt.
Actually I came across the scenario of referring class files from jar file. I mean to
If you look at the jar file with 7-zip or something similar, you can see that there is a "D" attribute for the folders when "Add directory entries" is selected. These attributes do not exist when that that option does not exist. Your compare was probably comparing the contents of the files within the jar file and wasn't looking at the jar file attributes.