If you run the unit tests, you'll know immediately if you've made a mistake with a non-transient, non-static Logger.
-Mike On 13 Jun 2003 at 12:42, BAZLEY, Sebastian wrote: > Ah, thanks. Didn't know that. > > Although redundant, I guess it is helpful as documentation that the log > variable should be transient - if there is ever a need to have an instance > Logger variable... > > S. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 12 June 2003 18:25 > To: JMeter Developers List > Subject: Re: Should Logger variables be transient or not? > > > 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] > > --------------------------------------------------------------------- > 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]
