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


Joern Huxhorn <jo...@huxhorn.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jo...@huxhorn.de




--- Comment #1 from Joern Huxhorn <jo...@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.
_______________________________________________
dev mailing list
dev@slf4j.org
http://www.slf4j.org/mailman/listinfo/dev

Reply via email to