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

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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: