Name: asR10047 Date: 05/31/2002
ByteArrayInputStream extended from InputStream overrides mark(int readLimit)
method but does not comment how it's behaviour changes depending on
There is only one sentence that states "readAheadLimit - the maximum limit of
bytes that can be read before the mark position becomes invalid." but all
other comments and actual behaviour don't support it.
I regard it as the specification bug. Specification should clarify how
readAheadLimit influences on reset() and mark() or should states readAheadLimit
is not used by ByteArrayInputStream.
Please note, current implementation does not take into account readAheadLimit
value at all.