Wrong variable used in constructor for java.awt.image.SampleModel

XMLWordPrintable

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



      Name: skT88420 Date: 07/20/99


       The constructor for java.awt.image.SampleModel(int dataType,
       int w, int h, int numBands) uses height were it should use h
       in the error message that is thrown when h <= 0 or w <= 0. As
       a result, an incorrect error message is generated.
       TEST CASE:
       Obvious from code reading
      (Review ID: 88144)
      ======================================================================

            Assignee:
            Dmitri Trembovetski (Inactive)
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: