Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4403352

IIOMetadataFormatImpl.getAttribute{Min,Max}Value throws IllegalStateException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • 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.

            dricesunw Daniel Rice (Inactive)
            dricesunw Daniel Rice (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: