IIOMetadataFormatImpl.getAttribute{Min,Max}Value throws IllegalStateException

XMLWordPrintable

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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: