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

    Details

    • Subcomponent:
    • Resolved In Build:
      1.1
    • CPU:
      sparc
    • OS:
      solaris_2.5.1
    • Verification:
      Not verified

      Description


      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.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              gsaab Georges Saab
              Reporter:
              duke J. Duke (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: