-
Bug
-
Resolution: Fixed
-
P2
-
1.0, 1.4.0
-
beta
-
generic, x86, sparc
-
solaris_2.5, solaris_7, solaris_8
-
Verified
The IIOImage constructor:
public IIOImage(RenderedImage image,
List thumbnails,
IIOMetadata metadata)
checks the value of 'raster' instead of 'image' and throws an IllegalArgumentException if it is null, which it will always be during construction. Therefore this constructor will always fail.
A regression test will be placed in test/javax/imageio/IIOImageConstructor.java.
public IIOImage(RenderedImage image,
List thumbnails,
IIOMetadata metadata)
checks the value of 'raster' instead of 'image' and throws an IllegalArgumentException if it is null, which it will always be during construction. Therefore this constructor will always fail.
A regression test will be placed in test/javax/imageio/IIOImageConstructor.java.
- duplicates
-
JDK-4395357 ImageWriter is throwing java.lang.IllegalArgumentException
-
- Closed
-
-
JDK-4395368 The method ImageReader.readAll() throws the IllegalArgumentException
-
- Closed
-