On 18/02/2013 23:24, Konstantin Kolinko wrote:
2013/2/19  <[email protected]>:
Author: markt
Date: Mon Feb 18 22:54:44 2013
New Revision: 1447529

URL: http://svn.apache.org/r1447529
Log:
Use final.
Use imports.

Don't make log static

Why?
"log" is a private field and how it is created it cannot have
different values in different threads.

I do not see how its lifecycle differs from "sm" field that is already static.

Instances are created (on the server) under the application class loader. I don't want to create a memory leak with a static log object associated with a web application class loader in the JULI LogManager.

Mark


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to