-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
-
Not verified
Name: vpR10011 Date: 05/21/2001
Specification of the interface javax.imageio.stream.ImageOutputStream and
specification of the class javax.imageio.stream.ImageOutputStreamImpl say:
"public void writeUTF(String str) throws IOException
...
First, the total number of bytes needed to represent all the characters of s
is calculated. If this number is larger than 65535, then a UTFDataFormatError
^^^^^
is thrown.
...
Throws:
UTFDataFormatError - if the UTF representation of s requires more than 65536.
^^^^^
...".
These specifications refers to unknown UTFDataFormatError. It might be misprint.
If the UTF representation of the string str requires more than 65536 bytes
writeUTF(String) throws UTFDataFormatException.
======================================================================