[Bug 261] JDK14: Loggers are not serializable

12 Jun
2012
12 Jun
'12
12:55 p.m.
http://bugzilla.slf4j.org/show_bug.cgi?id=261 --- Comment #6 from Thorbjørn Ravn Andersen <thorbjoern@gmail.com> 2012-06-12 14:55:32 CEST --- (In reply to comment #5)
In JDK14LoggerAdapter, changing the logger field from final java.util.logging.Logger logger; to transient final java.util.logging.Logger logger;
seems to fix the problem. See also [1].
I agree. I did the same in https://github.com/ravn/slf4j/commit/28db3fc535eacde9c5f461710d28d6fc851d4ac... and that has run in production for months. Why is the logger final? -- Configure bugmail: http://bugzilla.slf4j.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
4861
Age (days ago)
4861
Last active (days ago)
0 comments
1 participants
participants (1)
-
bugzilla-daemon@qos.ch