[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: the benefits of immutability




"Kevin S. Millikin" <kmillikin@atcorp.com> writes:
> I believe that Vadim was claiming that *if* java.lang.String were not 
> final, *then* one could not guarantee that all objects of type 
> java.lang.String were immutable.

I believe clever use of reflection fixes that.

Perry