lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Fennessey (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SOLR-4021) JavaBinCodec has poor default behavior for unrecognized classes of objects
Date Mon, 29 Apr 2013 13:44:16 GMT

    [ https://issues.apache.org/jira/browse/SOLR-4021?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13644485#comment-13644485
] 

David Fennessey commented on SOLR-4021:
---------------------------------------

Any news on this one? I'm getting the exact same issue in 4.2.1
                
> JavaBinCodec has poor default behavior for unrecognized classes of objects
> --------------------------------------------------------------------------
>
>                 Key: SOLR-4021
>                 URL: https://issues.apache.org/jira/browse/SOLR-4021
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java
>    Affects Versions: 4.0
>            Reporter: Hoss Man
>
> It seems that JavaBinCodec has inconsistent serialize/deserialize behavior when dealing
with objects of classes that it doesn't recognized.  In particular, unrecnognized objects
seem to be serialized with the full classname prepented to the "toString()" value, and then
that resulting concatentated string is left as is during deserialization.
> as a concrete example: serializing & deserializing a BigDecimal value results in
a final value like "java.math.BigDecimal:1848.66" even though for most users the simple toString()
value would have worked as intended.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message