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

Spec: ImageReader - contradiction in getImageTypes description

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta2
    • CPU:
      generic
    • OS:
      generic

      Description



      Name: bkR10012 Date: 04/13/2001


      Spec. of the class javax.imageio.ImageReader says:

      "public abstract Iterator getImageTypes(int imageIndex)
                                      throws IOException

           Returns an Iterator containing possible image types to which the given
           image may be decoded, in the form of ImageTypeSpecifiers.
           At least one legal image type will be returned.
      .....
           Returns:
               an Iterator containing ImageTypeSpecifiers representing suggested
               image types for decoding the current given image, or null."
               
      Returning null contradicts to "At least one legal image type will be
      returned".
          
      ======================================================================

        Attachments

          Activity

            People

            Assignee:
            dricesunw Daniel Rice (Inactive)
            Reporter:
            kuzsunw Kuz Kuz (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: