From: Joe E. <jo...@em...> - 2005-03-01 23:28:02
|
Jeff Weber wrote: >What I've found out is that it appears to be happening >because Driver.calculateChecksum(Patch, int, int, int) >is defined as a static method. > > I found some discussion about this on the java newsgroups... so it seems to be "the way it is". I find this very disappointing. The potential bugs that this invites would be difficult enough to track down that it's almost not worth using the static modifier at all. At the very least, I'd propose that we make all static methods and properties *final*. That way, you explicitly can't override them. That would ensure that a problem like this doesn't happen. - Joe |