Name: joT67522 Date: 08/25/97
The following code in ByteArrayInputStream...
/**
* Set the current marked position in the stream.
* ByteArrayInputStreams are marked at position zero by
* default when constructed. They may be marked at another
* position within the buffer by this method.
*
* @since JDK1.1
*/
public void mark(int markpos) {
mark = pos;
}
...should probably be:
/**
* Set the current marked position in the stream.
* ByteArrayInputStreams are marked at position zero by
* default when constructed. They may be marked at another
* position within the buffer by this method.
*
* @since JDK1.1
*/
public void mark(int markpos) {
mark = markpos;
}
company - Virtual Gaming Technologies, Inc. , email - ###@###.###
======================================================================
- duplicates
-
JDK-4035150 java.io.ByteArrayInputStream.mark(markpos) -- parameter misleadingly named
-
- Closed
-