-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P3
-
Affects Version/s: 1.4.0
-
Component/s: client-libs
-
None
-
beta
-
generic
-
solaris_7
IIOMetadataFormatImpl.getAttribute{Min,Max}Value throws an IllegalStateException
when the attribute is defined to contain a range of values that is inclusive
on one or both ends. The code incorrectly checks the attribute's
value type for equality against VALUE_RANGE, whereas VALUE_RANGE_MIN_INCLUSIVE,
etc., are also valid.
A regression test will be placed in test/javax/imageio/metadata/IIOMetadataFormatImplTest.java.
when the attribute is defined to contain a range of values that is inclusive
on one or both ends. The code incorrectly checks the attribute's
value type for equality against VALUE_RANGE, whereas VALUE_RANGE_MIN_INCLUSIVE,
etc., are also valid.
A regression test will be placed in test/javax/imageio/metadata/IIOMetadataFormatImplTest.java.