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

IndexColorModel constructor should throw exception if nBits > 16

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.4.0
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: