0

I am boggled by the fact that the sha1 sum started to change without change in the java classes.

I have reverted changes to the files, recompiled the project and I get a different checksum than the one that should be. The last change of the package was 1 year ago, and it started to give a different sum Today.

My question is:

What if anything, can be the cause of a sha1 sum to start giving a different result ?

Like I said the files have been reverted to the state that they were 1 year ago and still different.

FoldFence
  • 2,674
  • 4
  • 33
  • 57

2 Answers2

0

If you use a different compiler or a different version of the compiler or even different settings to the compiler it could pretty well be, that a different .class file is generated checksumwise. It should behave the same though.

Vampire
  • 35,631
  • 4
  • 76
  • 102
0

Turns out tests that use these files were the culprit.