posted 18 years ago
Thread safety is an issue that gains relevance when you realize that more than one thread could be concurrently performing read/write operations over a particular variable, either static or non-static.
Therefore, it does not matter if your class is an static inner class or not. The questions is, is there any possibility that more than one thread is reading/writing its members concurrently?
If the answer is yes, then your class may not be thread safe, and any intend to modify any of its members should be properly synchronized.
[ July 25, 2006: Message edited by: Edwin Dalorzo ]