java.io.ByteArrayInputStream.mark(markpos) -- parameter misleadingly named

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.2.0
    • Affects Version/s: 1.1.1, 1.1.2, 1.1.8
    • Component/s: core-libs
    • 1.2beta3
    • generic, x86
    • generic, solaris_2.5, windows_nt
    • Not verified

      java.io.InputStream uses the int parameter to mark as a readlimit. java.io.ByteArrayInputStream uses it as a position. The resultant resets have very different semantics. We need to be consistent with the JLS across the board.

            Assignee:
            Zhenghua Li (Inactive)
            Reporter:
            J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: