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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.2.0
    • 1.1.1, 1.1.2, 1.1.8
    • 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.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: