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

awt.Color getColor doesn't throw exception when int parameter is out of range

XMLWordPrintable

    • 1.1
    • sparc
    • solaris_2.5.1
    • Not verified


      According to the spec,

      getColor(String nm, int v) takes and int v in the range [0..0xffffff].

      However, if given a value out of range, no exception is thrown.


      Note: This bug most likely occurs as a result of bug 1264513 and once it is fixed,
      this will not happen.

            gsaab Georges Saab
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: