[slf4j-dev] [Bug 261] JDK14: Loggers are not serializable

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Tue Jun 12 15:06:00 CEST 2012


http://bugzilla.slf4j.org/show_bug.cgi?id=261

--- Comment #7 from Ceki Gulcu <listid at qos.ch> 2012-06-12 15:06:00 CEST ---
I would have merged from your repo had I known about it.

The logger field is final because once set by JDK14LoggerAdapter's constructor,
it can no longer be changed. (Serialization breaks this encapsulation but
that's a Java language problem.)

The JDK14LoggerAdapter, as well as all the other logger adapters, are final
because it seemed like the reasonable thing to do. It does not make sense
extend an adapter...

-- 
Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the slf4j-dev mailing list