IMO all could be static, there is no good reason to keep them not static
Le 31 août 2012 14:30, "Thomas Andraschko" <[email protected]> a écrit :

> This loggers could be static:
>
> PluginLoader
> AbstractMetaDataDiscovery
> OsgiMetaDataScannerService
> FailOverBag
> FailOverBagWrapper
>
>
> There are 2 other classes where it can't be static without changes. Should
> we set them as transient?
>
> WebContainerLifecycle
> AbstractLifeCycle
>
>
> 2012/8/31 Thomas Andraschko <[email protected]>
>
> > Hi,
> >
> > AFAICS the old WebBeansLogger was serializable and JUL isn't.
> > This breaks again the failover because OWB has some or many non-static
> > loggers. It's really annoying because since 1.1.3, every version
> destroyed
> > the failover mechanism.
> > Is there any reason for non-static loggers? The non-static logger in
> > FailOverBag destroyes the serialization.
> >
> > I could provide a patch which will change all loggers to static.
> >
> > Regards,
> > Thomas
> >
>

Reply via email to