is Static methodsl thread safe 2006-03-06 - By Kalra, Ashwani
Back Yea, I meant class variable.
-- --Original Message-- -- From: A mailing list for Java(tm) 2 Platform, Enterprise Edition [mailto:J2EE-INTEREST@(protected)] On Behalf Of Mike New Sent: Monday, March 06, 2006 11:35 PM To: J2EE-INTEREST@(protected) Subject: Re: is Static methodsl thread safe
> > It will not corrupt the argument beanName, as its considered local > and stored on stack. Each thread has its own value. If you are trying
> to access/modify some static instance variable, then you may have to > look ^^^^^^^^^^^^^^^^^^^^^^^^ I think he means "some static class variable" as there's no such thing as a static instance variable in Java.
Mike -- ---- ---- ------ _/ /// // -- ---- ---- ---- --
=========================================================================To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.
==========================================================================To unsubscribe, send email to listserv@(protected) and include in the body of the message "signoff J2EE-INTEREST". For general help, send email to listserv@(protected) and include in the body of the message "help".
|
|