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

Add validation checks for ICC_Profile header fields

XMLWordPrintable

    • 2d
    • b10
    • generic
    • generic

        ICC_Profile.setData(..) does validation of the specified tag contents and throws an exception if it is not valid.
        But if the tag represents the header, at least some of the validation is lazy, occurring only when the data is used, leading to unexpected exceptions at a later time.
        The check should be done up-front when the data is set, as in other cases.

              honkar Harshitha Onkar
              honkar Harshitha Onkar
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: