-
Bug
-
Resolution: Fixed
-
P4
-
6
-
None
-
mustang
-
generic
-
generic
The specification for ImageReader.read states that an IllegalArgumentException will be thrown if the param provided is such that the resulting image would have a width or height less than 1.
The PNG ImageReader does not throw an IllegalArgumentException in the above scenario, therefore not following the specification. A test case demonstrating this is attached. On running the test, use the scrollbar to view regions to the right, this should cause an Exception, but does not.
The PNG ImageReader does not throw an IllegalArgumentException in the above scenario, therefore not following the specification. A test case demonstrating this is attached. On running the test, use the scrollbar to view regions to the right, this should cause an Exception, but does not.
- relates to
-
JDK-6195593 REGRESSION: javax/imageio/IRPTest.java fails
-
- Closed
-