8073779: StackOverflowError called StackOverflowException in javadoc
Reviewed-by: martin
--- a/jdk/src/java.base/share/classes/java/util/stream/DoubleStream.java Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/DoubleStream.java Tue Feb 24 19:50:17 2015 +0300
@@ -848,7 +848,7 @@
* @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
--- a/jdk/src/java.base/share/classes/java/util/stream/IntStream.java Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/IntStream.java Tue Feb 24 19:50:17 2015 +0300
@@ -837,7 +837,7 @@
* @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
--- a/jdk/src/java.base/share/classes/java/util/stream/LongStream.java Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/LongStream.java Tue Feb 24 19:50:17 2015 +0300
@@ -845,7 +845,7 @@
* @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
--- a/jdk/src/java.base/share/classes/java/util/stream/Stream.java Tue Feb 24 10:56:48 2015 +0100
+++ b/jdk/src/java.base/share/classes/java/util/stream/Stream.java Tue Feb 24 19:50:17 2015 +0300
@@ -1079,7 +1079,7 @@
* @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 <T> The type of stream elements
* @param a the first stream