You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Matteo Vescovi (JIRA)" <ji...@apache.org> on 2008/09/02 12:51:46 UTC
[jira] Commented: (CXF-1780) float's and double's negative infinity
is incorrectly marshalled/unmarshalled as positive infinity
[ https://issues.apache.org/jira/browse/CXF-1780?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627624#action_12627624 ]
Matteo Vescovi commented on CXF-1780:
-------------------------------------
Patch attached resolves the issue by fixing the marshalling/umarshalling of infinity values following the pattern already in place, by using "-INF" and "INF" strings.
I wonder whether it would be cleaner to just use the output of Double.NEGATIVE_INFINITY ("-Infinity") or Double.POSITIVE_INFINITY instead (similarly for float type).
> float's and double's negative infinity is incorrectly marshalled/unmarshalled as positive infinity
> --------------------------------------------------------------------------------------------------
>
> Key: CXF-1780
> URL: https://issues.apache.org/jira/browse/CXF-1780
> Project: CXF
> Issue Type: Bug
> Components: CORBA Binding
> Affects Versions: 2.1.2
> Reporter: Matteo Vescovi
> Fix For: 2.1.3
>
> Attachments: infinity_patch.diff
>
>
> Floats with value Float.NEGATIVE_INFINITY or doubles with value Double.NEGATIVE_INFINITY are incorrectly marshalled/unmarshalled as positive infinity.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.