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

Clarification in spec for javax.imageio.FileImageOutputStream

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 5.0
    • 1.4.0_03
    • client-libs
    • tiger
    • generic
    • generic

      An issue has arisen concerning a 1.4 JCK test that is being run on a licensee system.The licensee wants that JCK test javax_imageio/stream/FileImageOutputStream/Ctor should
       be excluded because of bug #4353929. The reason for this test failing on the licensee's system is a file and a directory can each have the same name at the same time -- ie they have distinct namespaces, not a single shared namespace. After a detailed discussion with JCK, javax.imageio Engineering team, Mark Reinhold, it was decided that this is an issue with the spec itself.

      Proposed changes for spec are in Tiger release time frame.

      The spec for FileImageOutputStream should be changed to something like :

          @throws FileNotFoundException
          If the given file object does not denote an existing, writable regular file
          and a new regular file of that name cannot be created, or if some other
          error occurs while opening or creating the file

            prr Philip Race
            rverabel Raghu Verabelli (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: