[slf4j-dev] [Bug 148] Add support for Structured Data
bugzilla-daemon at pixie.qos.ch
bugzilla-daemon at pixie.qos.ch
Tue Nov 10 17:54:13 CET 2009
http://bugzilla.slf4j.org/show_bug.cgi?id=148
Joern Huxhorn <joern at huxhorn.de> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |joern at huxhorn.de
--- Comment #1 from Joern Huxhorn <joern at huxhorn.de> 2009-11-10 17:54:13 ---
I've taken a look at StructuredData and StructuredDataImpl and I'm wondering
about the data field quite a bit.
It is initialized to an empty HashMap and is never changed - as far as I can
tell...?
Beside that, even if it would contain values, StructuredDataImpl does not
contain any serialization logic so far. This means that it does not follow the
contract described in StructuredData which states that non-Serializable content
of the map is serialized as a String while Serializable content is simply
serialized.
I've stated before that I'd consider the serialization of arbitrary 3rd-party
classes a serious problem because it expects, that the receiver of the
serialized data contains
- the class that was serialized
- exactly *that* class.
--
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