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

Document DigestInputStream behavior when skip() or mark() / reset() is used

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 20
    • 7
    • security-libs
    • b12
    • generic
    • generic
    • Verified

    Description

      The java.security.DigestInputStream class does not override skip(), mark(), or reset() so it inherits the implementations from java.io.FilterInputStream, which delegates to the wrapped stream. That means the digest is not updated in any of these events. This either needs to be fixed or documented as a known limitation.

      Attachments

        Issue Links

          Activity

            People

              weijun Weijun Wang
              andreas Andreas Sterbenz
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: