Jtest logo




Contents  Previous  Next  Index

TRS.NSYN


A non-synchronized method should not call 'wait()' or 'notify()'

Description

This rule flags any non-synchronized method that is calling `wait()' or `notify()'

Method wait() or notify() is invoked from a method, which is not declared as synchronized. It is not definitely a bug because the monitor can be locked from another method which directly or indirectly invokes the current method.


Contents  Previous  Next  Index

ParaSoft logo
(888) 305-0041 info@parasoft.com Copyright © 1996-2001 ParaSoft