8073779: StackOverflowError called StackOverflowException in javadoc

Reviewed-by: martin
This commit is contained in:
Ivan Gerasimov 2015-02-24 19:50:17 +03:00
parent 93d09edf06
commit f3c4924379
4 changed files with 4 additions and 4 deletions

View file

@ -837,7 +837,7 @@ public interface IntStream extends BaseStream<Integer, IntStream> {
* @implNote
* Use caution when constructing streams from repeated concatenation.
* Accessing an element of a deeply concatenated stream can result in deep
* call chains, or even {@code StackOverflowException}.
* call chains, or even {@code StackOverflowError}.
*
* @param a the first stream
* @param b the second stream