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

awt.Color.RGBtoHSB() description in spec is incomplete

XMLWordPrintable

    • 1.1.4
    • sparc
    • solaris_2.5.1
    • Not verified


      According to the spec,RGBtoHSB() "converts a color..." but what the relationship between
      the two formats is not given, so from a testing perspective, it's impossible to project the
      outcome.

      Two things are necessary to test this method:

      1. Some information describing exactly what hue, saturation, and brightness are needs to be present.

      2. Also, the relationship of how h, s, and b values are mapped to red, green, and blue values
      needs to be documented.


      -------------------


      This bug is related to 1264532.

            asommere Alan Sommerer (Inactive)
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: