moved invalidation into sycnhronized block
Authored by: matzon 2007-05-19
Parent: [r2821]
Child: [r2823]