cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matteo Vescovi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CXF-1780) float's and double's negative infinity is incorrectly marshalled/unmarshalled as positive infinity
Date Tue, 02 Sep 2008 10:51:46 GMT

    [ 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.


Mime
View raw message