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

ColorSpace spec should specify behaviour for invalid input

XMLWordPrintable

    • 2d
    • sparc
    • solaris_2.5



      Name: apR10100 Date: 03/12/2002



      ColorSpace spec does not define behaviour for invalid input for
      following methods:

      ColorSpace(int type, int numcomponents) - can number of components be negative ?

      getInstance(int colorspace) - will null be returned or IllegalArgumentException
          thrown in case of invalid "colorspace" ?

      public String getName(int idx) - will null be returned or IllegalArgumentException
          thrown in case of invalid "idx" ?

      ======================================================================

            avu Alexey Ushakov
            avpsunw Avp Avp (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Imported:
              Indexed: