On Fri, Dec 5, 2008 at 3:45 PM, Oliver Schoett <[EMAIL PROTECTED]> wrote: > Leon Rosenberg wrote: >> >> You should consider using synchronized lists :-) (for example Vector). >> > > Does not help :-) If you do not put sync. brackets around > > Check some property (e. g., size()); > Do something according to the property value > > you lose, because the property may have changed already when the second line > is executed.
Hello Oliver, yes, in this very special case, which has nothing to do with the original post of this thread you are absolutely right. regards Leon --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]