The current implementation of the constructors for BufferedOutputStream,
BufferedInputStream, PushbackReader, PushbackInputStream and
CharArrayWriter did not check for possible negative array sizes
that will be passed in, in which case an undocumented
NegativeArraySizeException will be thrown.
See also bug 4015701.
BufferedInputStream, PushbackReader, PushbackInputStream and
CharArrayWriter did not check for possible negative array sizes
that will be passed in, in which case an undocumented
NegativeArraySizeException will be thrown.
See also bug 4015701.
- relates to
-
JDK-4015701 java.io.ByteArrayOutputStream can throw NegativeArraySizeException
-
- Closed
-
-
JDK-4137768 java.io.PushbackReader with negative or zero length pushback buffer
-
- Closed
-