-
Bug
-
Resolution: Fixed
-
P3
-
1.4.0
-
beta2
-
generic
-
generic
-
Verified
Attached is a sample testcase(Test.java) which tries to get the
supported attribute values for OrientationRequested attribute with
DocFlavor.INPUT_STREAM.JPEG. It returns null in this case.
I have another testcase(OrientationTest.java) where I try to print JPEG image
with all the OrientationRequested values(LANDSCAPE, PORTRAIT, REVERSE_LANDSCAPE,
REVERSE_PORTRAIT) using the same docflavor but without checking the
getSupportedAttributeValues.It prints JPEG image for all the above 4
orientations. This leads to a suspicion if it was a bug of
getSupportedAttributeValues for not returning the supported orientations.
The program was tested on Solaris Sparc 7 and Windows 2000 with build 67
and both have the same problem.
Source Files: Test.java, OrientationTest.java
Resource Files: house.jpg