From: Joe E. <jo...@em...> - 2005-03-01 11:54:48
|
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. > > That's not supposed to even be possible. From: http://java.sun.com/docs/books/tutorial/java/javaOO/override.html .... "a subclass cannot override methods that are declared |static| in the superclass. In other words, a subclass cannot override a class method." However, it goes on to say that: "A subclass can /hide/ a |static| method in the superclass by declaring a |static| method in the subclass with the same signature as the |static| method in the superclass." But it seems like hiding would be the opposite problem than what you're getting now. - Joe |