There's no need for "transient" if the variable is "static".  Static variables aren't 
serialized.

-Mike

On 12 Jun 2003 at 17:50, BAZLEY, Sebastian wrote:

> Until I just checked, I thought all Logger variables were defined as:
> 
>       transient private static Logger log
> 
> but there are some which are defined without the transient modifier [& some
> protected and some non-static].
> 
> If the class is serializable, surely omitting transient will increase the
> serialised size, and might perhaps cause problems when deserializing - or
> have I misunderstood something?
> 
> We've not used client-server mode here and I have no experience of any
> serialisation problems; it may well be unimportant.
> 
> [I can create patches if required.]
> 
> -- 
> The opinions expressed herein are my own, and are not necessarily 
endorsed
> by my employer ...
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



--
Michael Stover
[EMAIL PROTECTED]
Yahoo IM: mstover_ya
ICQ: 152975688
AIM: mstover777

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to