IndexColorModel constructor should throw exception if nBits > 16

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: client-libs
    • None
    • 2d
    • beta
    • generic
    • generic

      java.awt.image.IndexColorModel supports color lookup tables with up to
      2^16 entries. However, one of the constructors allows the bits variable
      to range up to 32. This limit shoulsd be 16.

            Assignee:
            Btplusnull User (Inactive)
            Reporter:
            Jerald Evans (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: