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

Task updateProgress should take double values, not long values

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u6
    • fx2.0.1, fx2.1
    • javafx

      Worker defines totalWork and workDone as doubles, yet the updateProgress method on Task takes longs, not doubles! I think totalWork and workDone were intended to be longs, but they are clearly doubles now. As such, a new updateProgress method should be added that takes doubles and, perhaps, the existing method deprecated (although it does no harm other than to add to the API).

            rbair Richard Bair (Inactive)
            rbair Richard Bair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: