-
Bug
-
Resolution: Fixed
-
P4
-
1.4.0_03
-
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
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
- relates to
-
JDK-4722178 (spec) Tighten specifications of file-opening constructors
-
- Resolved
-