Possible Duplicate:
How do synchronized static methods work in Java?
I was wondering what would happen if synchronized was used on a static method. Does the class get a lock on that method? How is this different from synchronized on a non static method?
Thanks