On 15 Feb 2002, Mark Wielaard wrote: > When javadoc puts a synchronized in the javadoc you can be sure that the > thread will need to acquire the lock for that object.
Not so. For instance, Java allows overriding a synchronized method with a non-sychronized one. Relying on the information from javadoc could be misleading. Also, the inverse doesn't apply: a method not identified as synchronized in javadoc may synchronize "this" anyway. For these reasons, I believe "synchornized" is part of a method's implementation but not its interface, and I am glad javadoc ignores it. Jeff _______________________________________________ Classpath mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/classpath

