Uploaded image for project: 'XMLBeans'
  1. XMLBeans
  2. XMLBEANS-361

invalid NaN comparisons

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Version 2.3
    • TBD
    • None
    • None

    Description

      /xmlbeans/trunk/src/typeimpl/org/apache/xmlbeans/impl/util/XsTypeConverter.java

      contains two equality comparisons to NaN (Float.NaN and Double.NaN) at lines 90 and 142. Nothing (not even NaN) compares equal to NaN, so these will always fail. Should call isNaN

      Attachments

        1. xmlbeans361_patch.txt
          0.9 kB
          Jacob Danner

        Activity

          People

            Unassigned Unassigned
            jbapple Jim Apple
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 10m
                10m
                Remaining:
                Remaining Estimate - 10m
                10m
                Logged:
                Time Spent - Not Specified
                Not Specified