Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8102152

RT-19645 introduced updatedProgress with double parameters but does not correctly checks parameters for valid double input

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 7u6
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      in changeset bd432837e714 a method was introduced with parameters of type double. The introduced method checks its parameters for validity. That's good but unfortunately incomplete.
      workDone set to -1 means an indefinite amount of work remains.

      What does -0.5 mean?
      Is a value of -1 < workDone < 0 valid?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              rbair Richard Bair (Inactive)
              Reporter:
              mklahnjfx Martin Klahn (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: