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

clarify SampleModel.setSample(float/double) spec regarding cast to int

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 6
    • 6
    • client-libs
    • 2d
    • b43
    • generic
    • generic

      The default implementations of setSample(float) and setSample(double) in
      the base SampleModel class first cast the float/double value to an int and
      then call the abstract setSample(int) variant with that int value. We should
      probably clarify the specification of those two method to reflect this
      behavior. This issue came up while evaluating RFE 4738524.
      ###@###.### 2005-05-09 20:19:56 GMT

            campbell Christopher Campbell (Inactive)
            campbell Christopher Campbell (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: