Re: Mutable public fields in Tomcat 6 code

2009-05-22 Thread sebb
On 21/05/2009, Filip Hanik - Dev Lists wrote: > sebb wrote: > > > There are quite a lot of public mutable static fields in the current > > Tomcat6 codebase. > > > > Such fields can allow malicious or accidental changes to occur, so > > should be avoided as far as possible. > > [And if a class has

Re: Mutable public fields in Tomcat 6 code

2009-05-21 Thread Filip Hanik - Dev Lists
sebb wrote: There are quite a lot of public mutable static fields in the current Tomcat6 codebase. Such fields can allow malicious or accidental changes to occur, so should be avoided as far as possible. [And if a class has public mutable static fields it's generally impossible to make it thread